shorrocks: Shorrocks mobility index

View source: R/mobility.R

shorrocksR Documentation

Shorrocks mobility index

Description

This function estimates the Shorrocks income mobility index for a specific inequality indext

Usage

shorrocks(
  x,
  w = rep(1, dim(x)[1]),
  data = NULL,
  na.rm = TRUE,
  index = "gini",
  ...
)

Arguments

x

A matrix with income data

w

A vector of weights

data

A data frame in which to look for the data

na.rm

A logical, indicating whether or not to remove NAs

index

An inequality index.

Value

A scalar.

Author(s)

Markus Jantti markus.jantti@iki.fi

References

\insertRef

shorrocks1978jetincdist


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