View source: R/rpgnorm_pgenpolarrej.R
rpgnorm_pgenpolarrej | R Documentation |
p
-generalized normal distributionThe function simulates the univariate, central, p
-generalized normal distribution by using the p
-generalized rejecting polar method.
rpgnorm_pgenpolarrej(n,p)
n |
The natural number of random variables to be simulated. |
p |
A positive number expressing the form parameter of the distribution. The default is 2. |
An n
-dimensional, real vector.
Steve Kalke
S. Kalke and W.-D. Richter (2013)."Simulation of the p-generalized Gaussian distribution." Journal of Statistical Computation and Simulation. Volume 83. Issue 4.
y<-rpgnorm_pgenpolarrej(10000,3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.