atkinson: Atkinson's inequality index

View source: R/atkinson.R

atkinsonR Documentation

Atkinson's inequality index

Description

This function estimates Atkinson's inequality index.

Usage

atkinson(
  x,
  w = rep(1, length(x)),
  eta = 1/2,
  data = NULL,
  na.rm = TRUE,
  no.negatives = FALSE,
  ...
)

Arguments

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

Details

None.

Value

The inequality index.

Author(s)

Markus Jantti markus.jantti@iki.fi

References

\insertRef

lambert1993incdist

See Also

gini ge prospect

Examples


atkinson(runif(100), eta = 1/2)


mjantti/incdist documentation built on Aug. 23, 2023, 5:33 p.m.