Description Details Author(s) References See Also Examples
Random generation for the Asymmetric Power Distribution with parameters theta, phi, alpha and lambda.
This generator is called by function gensample to create random variables based on its parameters.
If theta, phi, alpha and lambda are not specified they assume the default values of 0, 1, 0.5 and 2, respectively.
The Asymmetric Power Distribution with parameters theta,
phi, alpha and lambda has density:
f(u) = (1/φ)*(δ^{1/λ}_{α,λ})/(Γ(1+1/λ))*\exp[-(δ_{α,λ})/(α^{λ})*|(u-θ)/φ|^{λ}]
if
u <= 0
and
f(u) = (1/φ)*(δ^{1/λ}_{α,λ})/(Γ(1+1/λ))*\exp[-(δ_{α,λ})/(1-α)^{λ}*|(u-θ)/φ|^{λ}]
if
u > 0,
where 0<α<1, λ>0 and δ_{α,λ}=(2*α^{λ}(1-α)^{λ})/(α^{λ}+(1-α)^{λ}).
The mean and variance of APD are defined respectively by
E(U) = θ+φ*Γ(2/λ)/Γ(1/λ) * [1-2*α]*δ_{α,λ}^{-1/λ}
and
V(U) =φ^2 * (Γ(3/λ)*Γ(1/λ)*[1-3α+3α^2]-Γ(2/λ)^2*[1-2*α]^2)/(Γ(1/λ))^2 * δ_{α,λ}^{-2/λ}.
P. Lafaye de Micheaux, V. A. Tran
Pierre Lafaye de Micheaux, Viet Anh Tran (2016). PoweR: A Reproducible Research Tool to Ease Monte Carlo Power Simulation Studies for Goodness-of-fit Tests in R. Journal of Statistical Software, 69(3), 1–42. doi:10.18637/jss.v069.i03
Komunjer, I. (2007), Asymmetric Power Distribution: Theory and Applications to Risk Measurement, Journal of Applied Econometrics, 22, 891–921.
See Distributions for other standard distributions.
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.