MlocscaleHUB: Huber's M-estimates of location and scale

View source: R/Location_Scale.R

MlocscaleHUBR Documentation

Huber's M-estimates of location and scale

Description

Mlocscale computes Huber's M-estimates of location and scale.

Usage

MlocscaleHUB(y, c = NULL)

Arguments

y

: real valued data vector of size N

c

: tuning constant c>=0. Default is Null

Value

mu_hat : Huber's M-estimate of location

sigma_hat : Huber's M-estimate of scale

iter : integer. Number of iterations

Note

File location : Location_Scale.R

Examples

MlocscaleHUB(rnorm(5))


Mufabo/Rrobustsp documentation built on June 11, 2022, 10:41 p.m.