Learn R Programming

power.transform (version 1.0.0)

huber_estimate: Huber M-estimate

Description

Iteratively computes M-estimates for location and scale. These are robust estimates of the mean and standard deviation of the data.

Usage

huber_estimate(x, k = 1.28, tol = 1e-04)

Value

list with location estimate "mu" and scale estimate "sigma".

Arguments

x

Vector of numeric values for which the location and scale should be estimated.

k

Numeric value > 0 that the determines the value beyond which the signal is winsorized.

tol

Tolerance for the iterative procedure.