This function computes the average absolute deviation from the sample median, which is a consistent robust estimate of the population standard deviation for normality distribution data. NAs from the data are omitted.
j.maad(x)
a numeric vector of data values.
A list with the following numeric components.
Robust Standard Deviation J
Gastwirth, J. L.(1982) Statistical Properties of A Measure of Tax Assessment Uniformity, Journal of Statistical Planning and Inference 6, 1-12.
cd
, gini.index
, rqq
,
rjb.test
, sj.test
# NOT RUN {
## Simulate 100 observations: using rnorm()
## for normally distributed data, X=N(0,1)
x = rnorm(100)
j.maad(x)
## Sample Output
##
## MAAD estimated J = 0.9194124302405 for data x
# }
Run the code above in your browser using DataLab