eta.s: Strong asymmetry measure eta(X).

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/eta.s.R

Description

Returns the strong asymmetry measure eta(X) of Patil, Bagkavos and Wood (2014).

Usage

1
 eta.s(xin, dist, GridLength, p1, p2)

Arguments

xin

A vector of data points - the available sample.

dist

Character string, specifies selected distribution function.

GridLength

A non-negative number, which will be rounded up if fractional.Desired length of the sequence.

p1

A scalar. Parameter 1 (vector or object) of the selected distribution.

p2

A scalar. Parameter 2 (vector or object) of the selected distribution.

Details

Implements

η(X)= -0.5 sign(ρ_1)\max|ρ_p + ρ_p^*|

with 1/2 ≤ p ≤ 1.

Uses maximum likehood estimates for the unknown functionals in the definition of the measure.

Value

Returns a scalar, the value of the strong asymmetry measure η(X).

Author(s)

Dimitrios Bagkavos and Lucia Gamez Gallardo

R implementation and documentation: Dimitrios Bagkavos <dimitrios.bagkavos@gmail.com> , Lucia Gamez Gallardo <gamezgallardolucia@gmail.com>

References

See Also

eta.w.hat.bc, eta.w.hat, eta.w.breve,eta.w.breve.bc, eta.w.tilde,eta.w.tilde.bc

Examples

1
2
3
4
5
6
7
8
selected.dist <- "norm" #select norm as the distribution
m.use <- mean(GDP.Per.head.dist.2005)
sd.use<- sd(GDP.Per.head.dist.2005)
grid <- 50

s.use<- GDP.Per.head.dist.1995
eta.s(GDP.Per.head.dist.2005,selected.dist,grid,m.use,sd.use)
    

asymmetry.measures documentation built on July 22, 2020, 9:06 a.m.