Probabilities Contaminated Normal Distribution | R Documentation |
Gives the distribution function value of a univariate Contaminated Normal Distribution.
pcnorm(q, pi, mean, sd, gamma, lower.tail = TRUE, log.p = FALSE)
q |
value or vector to apply on the distribution function. |
pi |
vector of mixture weights. |
mean |
value of mixture mean. |
sd |
value of parameter. |
gamma |
value of parameter. |
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 pcnorm(11.3, pi = c(0.1, 0.9), mean = 10, sd = 2, gamma = 3) ## A vector pcnorm(c(8, 10, 12), pi = c(0.1, 0.9), mean = 10, sd = 2, gamma = 3) ## Survival Function ## A value pcnorm(8.7, pi = c(0.8, 0.2), mean = 10, sd = 2, gamma = 3, lower.tail = FALSE) ## A vector pcnorm(c(6.3, 11, 13.7), pi = c(0.1, 0.9), mean = 10, sd = 2, gamma = 3, lower.tail = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.