pmultihyper {Corbi}R Documentation

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.

Details

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

Value

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

See Also

dhyper


[Package Corbi version 0.6-1 Index]