Description Usage Arguments Value Examples
Generates samples from Modfified Ploya Gamma (MPG) distribution.
1 | rMPG(n = 1, alpha, nu, Num_of_Terms = 200, eps_accuracy = 1e-05)
|
n: |
Number of samples to be generated. |
alpha: |
A positive real number. |
nu: |
A positive real number, order of the MPG distribution. |
Num_of_Terms: |
Integer greater than 50. Number of Terms added in the series represantion of the density. |
Samples from the MPG(n, alpha, nu) distribution.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.