The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Statistics::Robust::Scale - Robust Measures of Scale

SYNOPSIS

 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);

FUNCTIONS

MAD

 my($mad) = MAD(\@x);

 Return the non-normalized Median Absolute Deviation.

MADN

 my($madn) = MADN(\@x);

 Return the Median Absolute Deviation normalized by the 0.75 quartile of the normal distribution.

idealf

 my($ql,$qu) = idealf(\@x); 

 Return the Ideal Fourths estimate of the lower and upper quartiles (in that order).

winvar

 my($winvar) = winvar(\@x,$tr);

 Return the Winsorized variance.  If the amount of trimming ($tr) is not specified, it defaults to 0.2.

trimvar

 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.

variance

 my($var) = variance(\@x);

 The unbiased sample variance.

msmedse

 my($mse) = msmedse(\@x);

 An estimate of the standard error of the median.

pbvar

 my($pb) = pbvar(\@x, $beta);

 The percentage-bend midvariance

AUTHOR

Walter Szeliga <walter@geology.cwu.edu>