Statistics::Robust::Scale - Robust Measures of Scale
my @x = (1,4,5,3,7,2,4); my($mad) = MAD(\@x); my($madn) = MADN(\@x); my($ql,qu) = idealf(\@x); my($winvar) = winvar(\@x);
my($mad) = MAD(\@x); Return the non-normalized Median Absolute Deviation.
my($madn) = MADN(\@x); Return the Median Absolute Deviation normalized by the 0.75 quartile of the normal distribution.
my($ql,$qu) = idealf(\@x); Return the Ideal Fourths estimate of the lower and upper quartiles (in that order).
my($winvar) = winvar(\@x,$tr); Return the Winsorized variance. If the amount of trimming ($tr) is not specified, it defaults to 0.2.
my($trimvar) = trimvar(\@x,$tr); Return the variance for the trimmed mean with $tr trimming. If the amount of trimming is not specified, it defaults to 0.2.
my($var) = variance(\@x); The unbiased sample variance.
my($mse) = msmedse(\@x); An estimate of the standard error of the median.
my($pb) = pbvar(\@x, $beta); The percentage-bend midvariance
Walter Szeliga <walter@geology.cwu.edu>
<walter@geology.cwu.edu>
To install Statistics::Robust, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Statistics::Robust
CPAN shell
perl -MCPAN -e shell install Statistics::Robust
For more information on module installation, please visit the detailed CPAN module installation guide.