Learn R Programming

DetR (version 0.0.5)

inUMCD: Test function for unimcd

Description

Test function for the unimcd used in DetR.

Usage

inUMCD(x)

Arguments

x

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

Value

the value of the unimcd estimator of scale.

References

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

Examples

Run this code
# NOT RUN {
set.seed(123)	#for reproductibility
x<-rnorm(101)
inUMCD(x)
# }

Run the code above in your browser using DataLab