Description Usage Arguments Details Value Author(s) References See Also Examples
Returns the strong asymmetry measure eta(X) of Patil, Bagkavos and Wood (2014).
1 | eta.s.exact(xin, dist, GridLength, p1, p2)
|
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. |
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.
Returns a scalar, the value of the strong asymmetry measure η(X).
Dimitrios Bagkavos and Lucia Gamez Gallardo
R implementation and documentation: Dimitrios Bagkavos <dimitrios.bagkavos@gmail.com> , Lucia Gamez Gallardo <gamezgallardolucia@gmail.com>
eta.w.hat.bc, eta.w.hat, eta.w.breve,eta.w.breve.bc, eta.w.tilde,eta.w.tilde.bc,eta.s
1 2 3 4 5 6 | 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
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.