prospect | R Documentation |
This function prospect-theory-based estimates of Atkinson's inequality index for some reference value.
prospect(x, w = rep(1, length(x)), eta = 1, data = NULL, na.rm = TRUE)
x |
a numerical vector whose index is to be estimated, consisting of income less some reference value |
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. |
None.
The inequality index.
Markus Jantti markus.jantti@iki.fi
janttikanburnyyssolaandpirttila2014incdist
gini
ge
atkinson
prospect(runif(100), eta = 1/2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.