
Random generation for the Generalized Exponential Power distribution with parameters t1
, t2
and t3
.
This generator is called by function gensample
to create random variables based on its parameters.
If t1
, t2
and t3
are not specified they assume the default value of 0.5, 0 and 1, respectively.
The Generalized Exponential Power distribution has density:
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
Desgagne, A., Lafaye de Micheaux, P. and Leblanc, A. (2013), Test of Normality Against Generalized Exponential Power Alternatives, Communications in Statistics - Theory and Methods, 42(1), 164--190.
See Distributions
for other standard distributions.
# NOT RUN {
res <- gensample(34,10000,law.pars=c(1,8,4))
res$law
res$law.pars
mean(res$sample)
sd(res$sample)
# }
Run the code above in your browser using DataLab