Test function for unimcd

Description

Test function for the unimcd used in DetR.

Usage

1
  inUMCD(x)

Arguments

x

Vector of 2 or more numbers. Should contain no ties.

Value

the value of the unimcd estimator of scale.

Author(s)

Kaveh Vakili

References

Rousseeuw, P. J. (1984), Least Median of Squares Regression, Journal of the American Statistical Association,79, 871–880.

Examples

1
2
3
set.seed(123)	#for reproductibility
x<-rnorm(101)
inUMCD(x)