Learn R Programming

lawstat (version 3.3)

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)

Arguments

x

a numeric vector of data values.

Value

Robust standard deviation.

References

See Also

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

Examples

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

# }

Run the code above in your browser using DataLab