pmultihyper | R Documentation |
The distribution function for the weighted sums of multivariate hypergeometric distribution
pmultihyper(x, k, m, w)
x |
The quantile of weighted sum. |
k |
The total number of balls drawn from the urn. |
m |
Integer non-negative vector of length N, containing the number of balls of each color in the urn. 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 multivariate hypergeometric
distribution by recursively calling the hypergeometric distribution density function
dhyper
.
This function will return the probablity of P(X ≤ x).
dhyper
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.