Skip to contents

The member of a one-parameter family whose Gini index 2 * integral(g) - 1 is gini, as aggregate's Distortion.from_gini. The members of different families with one index price a uniform loss alike, at (1 + gini) / 2.

Usage

distortion_from_gini(family, gini)

Arguments

family

One of the families in the table.

gini

In (0, 1): 0 is the mean, 1 the maximum.

Value

A distortion; its gini property is the index.

Details

familyparameter from G
"ccoc"r = G / (1 - G)
"ph"rho = (1 - G) / (1 + G)
"wang"lambda = sqrt(2) qnorm((1 + G) / 2)
"tsallis"alpha = 1 / G - 1
"dual"beta = (1 + G) / (1 - G)
"tvar"p = G
"exp"solved by bisection

Examples

distortion_from_gini("tsallis", 0.25)@parameter # 3
#> [1] 3
distortion_from_gini("ph", 0.25)@parameter # 0.6
#> [1] 0.6