Description Usage Arguments Details Value References Examples
View source: R/mult_mixed_distribution.R
Random sample generating function for multivariate mixed gamma-geometric distribution with parameters α_1, α_1 >0, β_1, β_1 > 0, p_1, P_2 \in (0,1) and -1≤q θ \frac{1+\min(p_1,p_2)}{1+\min(p_1,p_2)}.
1 | rmgammageo(n, alpha, beta, prob, theta, log.p = FALSE)
|
n |
sample size. |
alpha |
numeric vector of parameters which must be greater than 0. |
beta |
numeric vector of parameters which must be greater than 0. |
prob |
numeric vector parameters between 0 and 1. |
theta |
numeric parameter between -1 and (1+min(p))/(1-min(p)). |
log.p |
logical; if TRUE, densities are given as log(den). |
rmgammageo is the density function.
vector of random sample.
Amponsah, C. K. and Kozubowski, T.J., (2022). Inprint
1 2 | data.df <- rmgammageo(20, alpha=c(0.5, 1.5), beta=c(20, 50), prob=c(0.6, 0.4), theta= -0.2)
data.df
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.