zigsetup | R Documentation |
The function approximates the rightmost x-coordinates of the first n-1 rectangles defining the Ziggurat in case of the central, p
-generalized normal distribution.
zigsetup(p, n, tol)
p |
A positive number expressing the form parameter of the distribution. The default is 2. In case of the Ziggurat method, p can be chosen from |
n |
The number of rectangles that build up the Ziggurat. The default is |
tol |
A positive number expressing the approximation accuracy of the function. The default is |
An (n-1)
-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<-zigsetup(3,20,10^(-6))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.