Description Usage Arguments Author(s) Examples
Gives the quantile function value of a univariate Poisson mixture.
1 |
p |
value or vector to apply on the quantile function. |
pi |
vector of mixture weights. |
lambda |
vector of (non-negative) parameters. |
lower.tail |
logical; if TRUE (default). probabilites are P[X ≤ x], otherwise P[X > x]. |
CASTRO, M. O.; MONTALVO, G. S. A.
1 2 3 4 5 6 7 8 9 | ## Quantile Function
## A value
qpois_mix(0.59, pi = c(0.6, 0.4), lambda = c(10, 18))
qpois_mix(0.59, pi = c(0.6, 0.4), lambda = c(10, 18), lower.tail = FALSE)
## A vector
qpois_mix(c(0.25, 0.50, 0.75), pi = c(0.6, 0.4), lambda = c(10, 18))
qpois_mix(c(0.25, 0.50, 0.75), pi = c(0.6, 0.4), lambda = c(10, 18), lower.tail = FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.