Probabilities Poisson Mixture | R Documentation |
Gives the distribution function value of a univariate Poisson Mixture.
ppois_mix(q, pi, lambda, lower.tail = TRUE, log.p = FALSE)
q |
value or vector to apply on the distribution 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]. |
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 ppois_mix(2, pi = c(0.1, 0.9), lambda = c(1, 30)) ## A vector ppois_mix(c(0, 17.6336, Inf), pi = c(0.1, 0.9), lambda = c(1, 30)) ## Survival Function ## A value ppois_mix(2, pi = c(0.8, 0.2), lambda = c(1, 30), lower.tail = FALSE) ## A vector ppois_mix(c(0, 10, 15), pi = c(0.1, 0.9), lambda = c(1, 30), lower.tail = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.