Description Usage Arguments Details Value Author(s) References See Also Examples
View source: R/eta.w.tilde.bc.R
Implements the asymmetry coefficient \tilde{η} of Patil, Patil and Bagkavos (2012).
1 | eta.w.tilde.bc(xin, kfun)
|
xin |
A vector of data points - the available sample. |
kfun |
The kernel to use in the density estimate. |
Given a sample X_1, X_2,…, X_n from a continuous density function f(x) and distribution function F(x), \tilde{η} is defined by
\tilde{η}=-\frac{∑_{i=1}^n{U_iV_i}-(n/2)\bar{U}}{√{(n/12)(∑^{n}_{i=1}{U_i^2-n\bar{U^2}})}}
where
U_i = \hat{f}(X_i), \; V_i =F(X_i), \; \bar{U}=n^{-1}∑_{i=1}^n U_i, \; \bar{V}=n^{-1}∑_{i=1}^n V_i.
eta.w.tilde.bc
uses reflection to correct the boundary bias of kde
.
Returns a scalar, the estimate of \tilde{η}.
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.bc, eta.w.breve,eta.w.tilde
1 2 3 | eta.w.tilde.bc(GDP.Per.head.dist.1995,Epanechnikov)
0.3333485 #estimate of etatile.bc
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.