Description Usage Arguments Details Value References Examples
View source: R/bgg_distribution.R
Distribution function for bivariate gamma geometric distribution with parameters α >0, β > 0 and p in (0,1).
1 | pbgammageo(data, alpha, beta, p, lower.tail = TRUE, log.p = FALSE)
|
data |
bivariate vector (X,N) observations from BGG model. |
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. |
lower.tail |
logical; if TRUE (default), probabilities are P[X ≤ x, N ≤q n], otherwise, P[X > x, N > n]. |
log.p |
logical; if TRUE, probabilities p are given as log(p). |
pbgammageo is the distribution function for BGG model.
vector of 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 3 | data.df <- rbgammageo(20, alpha=1.5, beta=2, p=0.6)
prob <- pbgammageo(data.df, alpha=1.5, beta=2, p=0.6)
prob
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.