View source: R/qglindley_mix.R
Quantile Generalized Lindley Mixture | R Documentation |
Gives the quantile function value of a univariate Generalized Lindley Mixture.
qglindley_mix(p, pi, alpha, beta, gamma, lower.tail = TRUE, log.p = FALSE)
p |
value or vector to apply on the quantile function. |
pi |
vector of mixture weights. |
alpha |
vector of parameters. |
beta |
vector of parameters. |
gamma |
vector of 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.
## Quantile Function ## A value qglindley_mix(0.59, pi = c(0.6, 0.4), alpha = c(1, 2), beta = c(1, 5), gamma = c(1, 3)) ## A vector qglindley_mix(c(0.50, 0.75), pi = c(0.6, 0.4), alpha = c(1, 2), beta = c(1, 5), gamma =c(1, 3))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.