Learn R Programming

Corbi (version 0.6-2)

pmultihyper: The Multivariate Hypergeometric Distribution

Description

The distribution function for the weighted sums of multivariate hypergeometric distribution

Usage

pmultihyper(x, k, m, w)

Arguments

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.

Value

This function will return the probablity of \(P(X \le x)\).

Details

This function gives the distribution function for the weighted sums of multivariate hypergeometric distribution by recursively calling the hypergeometric distribution density function dhyper.

See Also

dhyper