Probabilities Lindley Mixture | R Documentation |
Gives the distribution function value of a univariate Lindley Mixture.
plindley_mix(q, pi, beta, lower.tail = TRUE, log.p = FALSE)
q |
value or vector to apply on the distribution function. |
pi |
vector of mixture weights. |
beta |
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.
## Distribution Function ## A value plindley_mix(4, pi = c(0.6, 0.4), beta = c(1, 3)) ## A vector plindley_mix(c(4, 7, 11), pi = c(0.6, 0.4), beta = c(1, 3)) ## Survival Function ## A value plindley_mix(2, pi = c(0.6, 0.4), beta = c(1, 3), lower.tail = FALSE) ## A vector plindley_mix(c(1, 2, 6), pi = c(0.6, 0.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.