law0033.Nout {PoweR} | R Documentation |
The Normal with outliers Distribution
Description
Random generation for the Normal with outliers distribution with parameter a
which belongs to {1,2,3,4,5}
.
This generator is called by function gensample
to create random variables based on its parameter.
Details
If a
is not specified it assumes the default value of 1.
Five cases of standard normal distributions with outliers, hereon termed Nout1
to Nout5
,
consisting of observations drawn from a standard normal distribution where some of the values
are randomly replaced by extreme observations.
Author(s)
P. Lafaye de Micheaux, V. A. Tran
References
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
Romao, X., Delgado, R. and Costa, A. (2010), An empirical power comparison of univariate goodness-of-fit tests for normality, Journal of Statistical Computation and Simulation, 80(5), 545–591.
See Also
See law0002.Normal
for the Normal
distribution. See Distributions
for other standard distributions.
Examples
res <- gensample(33,10000,law.pars=4)
res$law
res$law.pars
mean(res$sample)
sd(res$sample)