Abstract:
robscale.src computes a robust alternative to the standard deviation as a measure of scale (dispersion). The standard deviation is easily distorted by outliers and may therefore be quite misleading. robscale.src computes the Qn statistic of Rousseeuuw and Croux, which is very robust and also has good efficiency (relative to the standard deviation) when the data are in fact uncontaminated Gaussian random variables. (P. J. Rousseeuw and C. Croux, "Alternatives to the median absolute deviation," Journal of the American Statistical Association, Dec 1993, vol. 88, no. 424, pp. 1273-1283). Specifically, if the series x contains n observations, then there are n(n-1)/2 differences of the form abs( x(i)-x(j) ), i < j. when these differences are ranked, Qn is approximately the 25th percentile. the cost of computing Qn grows rapidly as n increases, but the Rousseeuw-Croux algorithm is very fast and needs relatively little computer memory and disk space. myseries is the univariate data from which Qn is to be computed. the first observation is nbeg and the last observation is nend.
Language: RATS Keywords:robust; estimation (search for similar items in EconPapers) Date: 1999-03-25
More software in Statistical Software Components from Boston College Department of Economics Address: Boston College, 140 Commonwealth Avenue, Chestnut Hill MA 02467 USA Contact information at EDIRC. Series data maintained by Christopher F Baum ().
This site is part of RePEc
and all the data displayed here is part of the RePEc data set.
Is your work missing from RePEc? Here is how to
contribute.
Questions or problems? Check the EconPapers FAQ or send mail to .