Description Usage Arguments Details Value References Examples
View source: R/bgg_distribution.R
Random sample generating function for bivariate gamma geometric distribution with parameters α >0, β > 0 and p in (0,1).
1 | rbgammageo(n, alpha, beta, p)
|
n |
size of sample. |
alpha |
numeric parameter which must be greater than 0. |
beta |
numeric parameter which must be greater than 0. |
p |
numeric parameter between 0 and 1. |
rbgammageo generates random samples from BGG distribution.
vector of random samples generate from BGG distribution.
Barreto-Souza, W. (2012). Bivariate gamma-geometric law and its induced Lévy process . Journal of Multivariate Analysis, 109:130-145. https://doi.org/10.1016/j.jmva.2012.03.004
1 2 | data.df<-rbgammageo(20,alpha=1.5, beta=2, p=0.6)
data.df
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.