eta.s.exact {asymmetry.measures}R Documentation

Strong asymmetry measure eta(X).

Description

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

Usage

  eta.s.exact(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 This version uses exact p.d.f. and c.d.f. evaluation and not estimates of the unknown functionals.

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,eta.s

Examples


selected.dist <- "norm" #select norm as the distribution
m.use <- 2
sd.use<- 2
grid <- 50
s.use<- rnorm(100)
eta.s.exact(s.use,selected.dist,grid,m.use,sd.use)  # calculate eta.s at xout


[Package asymmetry.measures version 0.2 Index]