| Probabilities Gamma Mixture | R Documentation | 
Gives the distribution function value of a univariate Gamma Mixture.
pgamma_mix(q, pi, alpha, beta, lower.tail = TRUE, log.p = FALSE)
q | 
 value or vector to apply on the distribution function.  | 
pi | 
 vector of mixture weights.  | 
alpha | 
 shape parameters.  | 
beta | 
 scale parameters.  | 
lower.tail | 
 logical; if TRUE (default). probabilites are P[X ≤ x], otherwise P[X > x].  | 
log.p | 
 logical; if FALSE (default), probabilities are expected in p, otherwise log[probabilities] are expected.  | 
CASTRO, M. O.; MONTALVO, G. S. A.
## Distribution Function
## A value
pgamma_mix(12, pi = c(0.6, 0.4), alpha = c(2, 4), beta = c(1, 3))
## A vector
pgamma_mix(c(-100, 10.96684, 100), pi = c(0.6, 0.4), alpha = c(2, 4), beta = c(1, 3))
## Survival Function
## A value
pgamma_mix(12, pi = c(0.6, 0.4), alpha = c(2, 4), beta = c(1, 3), lower.tail = FALSE)
## A vector
pgamma_mix(c(5, 10, 16), pi = c(0.6, 0.4), alpha = c(2, 4), beta = c(1, 3),
          lower.tail = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.