atkinson | R Documentation |
This function estimates Atkinson's inequality index.
atkinson(
x,
w = rep(1, length(x)),
eta = 1/2,
data = NULL,
na.rm = TRUE,
no.negatives = FALSE,
...
)
x |
a numerical vector whose index is to be estimated |
w |
an optional vector of non-negative integer values weights. |
eta |
the inequality aversion parameter. Larger value indicate higher aversion, zero inequality neutrality and negative values inequality preference. |
data |
the data frame where the variables are found. |
na.rm |
a logical indicating whether NA's should removed. |
no.negatives |
a logical indicating wether to exclude negative values of x |
None.
The inequality index.
Markus Jantti markus.jantti@iki.fi
lambert1993incdist
gini
ge
prospect
atkinson(runif(100), eta = 1/2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.