OPHI counting approach

Share:

Description

The function implements in a single call the OPHI counting approach. The implementation is limited to ordinal attributes.

Usage

1
2
3
4
5
AF(y, ...)
## Default S3 method:
AF(y, z, w=rep(1, ncol(y)), k=sum(w), freq=rep(1, nrow(y)), ...)
## S3 method for class 'wprof'
AF(y, ...)

Arguments

y

matrix of profiles, it can be substituted by an object of class wprof.

z

vector of attribute cutoffs.

w

variables weights.

k

overall cutoff.

freq

profiles frequencies, if y is an object of class wprof this argument can be omitted.

...

any of the above.

Value

An object of S3 class ophi containing all the outputs related to the OPHI counting approach. The object is a list with the following arguments

y

matrix of profiles,

freq

profile frequencies,

d

number of variables

n

number of observations (sun of frequencies),

z

vector of cutoffs,

k

overall cutoff,

rho

function comparing profiles with the vector of cutoffs,

rho_k

function comparing profiles with the overall cutoff, by weighting variables,

g0

profile-variable matrix reporting the output of function rho,

c

censored vector of deprivation counts,

Z_k

a boolean vector identifying deprived profiles, according to specified cutoffs,

q

number of poor statstical units in the population,

H

headcount ratio, i.e. of q/n, where n is the number of statistical units in the population,

A

average deprivation share,

M0

adjusted headcount ratio.

References

Alkire S., Foster J. (2011), Counting and multidimensional poverty measurement, Journal of Public Economics, 96(7-8), 476-487.

Examples

1
2
3
4
5
6
vl <- c(2, 3, 3, 2)
prof <- var2prof(varlen = vl)

res <- AF(prof, z = c(1, 2, 1, 1), k = 1)

res

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.