pmultinom | R Documentation |
The distribution function for the weighted sums of multinomial distribution
pmultinom(x, k, m, w)
x |
The quantile of weighted sum. |
k |
The total number of balls drawn from the urn. |
m |
Numeric non-negative vector of length N, specifying the probability for drawing the ball of each color; is internally normalized to sum 1. Infinite and missing values are not allowed. N is the number of colors. |
w |
Numeric non-negative vector of length N, specifying the weight of balls of each color. |
This function gives the distribution function for the weighted sums of multinomial
distribution by recursively calling the binomial distribution density function
dbinom
.
This function will return the probablity of P(X ≤ x).
dbinom
, dmultinom
, rmultinom
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.