Statistics::Robust::Location - Robust Location Estimators
my @x = (1,4,5,3,7,2,4); my($tmean) = tmean(\@x); my($win) = win(\@x);
my($win) = win(\@x,$gamma); Return the gamma Winsorized mean. If gamma is not specified, it defaults to 0.2.
my($tmean) = tmean(\@x,$tr); Return the trimmed mean. If $tr is not specified, it defaults to 0.2.
my($mean) = mean(\@x); Although not a robust measure of location, it is useful for comparison as well as used internally in the computation of some robust methods. This returns the mean of the array @x.
my($est) = hd(\@x, $q) The Harell-Davis Estimator for the quantile $q.
my($median) = median(\@x); Return the median
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.