pgnorm-package {pgnorm} | R Documentation |
The
-Generalized Normal Distribution
Description
The pgnorm-package includes routines to evaluate (cdf,pdf) and simulate the univariate -generalized normal distribution with form parameter
, expectation
and standard deviation
. The pdf of this distribution is given by
where and
, which becomes
if and
. The random number generation can be realized with one of five different simulation methods including the
-generalized polar method, the
-generalized rejecting polar method, the Monty Python method, the Ziggurat method and the method of Nardon and Pianca. Additionally to the simulation of the p-generalized normal distribution, the related
-generalized uniform distribution on the
-generalized unit circle and the corresponding angular distribution can be simulated by using the functions "rpgunif" and "rpgangular", respectively.
Details
Package: | pgnorm |
Type: | Package |
Version: | 2.0 |
Date: | 2015-11-23 |
License: | GPL (>= 2) |
LazyLoad: | yes |
Author(s)
Steve Kalke <steve.kalke@googlemail.com>
References
S. Kalke and W.-D. Richter (2013)."Simulation of the p-generalized Gaussian distribution." Journal of Statistical Computation and Simulation. Volume 83. Issue 4.
Examples
y<-rpgnorm(10,3)