NAME
Statistics::Lmoments
SYNOPSIS
use Statistics::Lmoments qw(:all);
my @x = (..data here..);
# data needs to be sorted from smallest to largest
@x = sort {$a<=>$b} @x;
# calculate the "unbiased" first 5 L-moments
$xmom = sam('lmu',\@x, 5);
foreach (@distributions) {
next if /^KAP/;
my $para = pel($_,$xmom);
# @$para is now the estimated parameter vector
# for the specified distribution
my $x = 100;
my $F = cdf($_,$x,$para);
# $F is now the value of the cdf at 100 for this distribution
}
DESCRIPTION
This module is a thin wrapper around J. R. M. Hosking's FORTRAN library. For more information please see lmoments.ps in this distribution.
METHODS
sam
lmr
pel
cdf
cua
analysis
AUTHOR
Ari Jolma https://github.com/ajolma