Learn R Programming

lawstat (version 3.6)

j.maad: MAAD Robust Standard Deviation

Description

Compute average absolute deviation from the sample median, which is a consistent robust estimate of the population standard deviation for normally distribution data Gastwirth_1982lawstat. NAs from the data are omitted.

Usage

j.maad(x)

Value

Robust standard deviation.

Arguments

x

a numeric vector of data values.

Author

Wallace Hui, Yulia R. Gel, Joseph L. Gastwirth, Weiwen Miao

References

See Also

cd, gini.index, rqq, rjb.test, sj.test

Examples

Run this code
## Sample 100 observations from the standard normal distribution
x = rnorm(100)
j.maad(x)

Run the code above in your browser using DataLab