mscale: Scale M-estimate

Description Usage Arguments Details Value Note Author(s) References See Also Examples

View source: R/mscale.R

Description

Scale M-estimator with 50% breakdown

Usage

1
mscale(u)

Arguments

u

vector of values, in nonlinear regression residuals are used.

Details

Robust M-estimate of scale using rodust loss function rho, to acheive 50% breakdown. Tunning constant k1 should be stored in nl.form object of the robust function.

This is called from nlmest.NLM function to derive MM.estimate.

Value

Minimized Sum of rho function, by reweighting.

Note

General form is developed in nlr package to work for general robust function.

Author(s)

Stromberg (1993)

References

Yohai (1987) Annals, Stromberg (1993) JASA. GKS 2 June 99

See Also

nl.form, nlmest.NLM

Examples

1
2
x=c(2,3,10)
mscale(x)

nlr documentation built on July 31, 2019, 5:09 p.m.

Related to mscale in nlr...