pmultinom {Corbi}R Documentation

The Multinomial Distribution

Description

The distribution function for the weighted sums of multinomial distribution

Usage

pmultinom(x, k, m, w)

Arguments

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.

Details

This function gives the distribution function for the weighted sums of multinomial distribution by recursively calling the binomial distribution density function dbinom.

Value

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

See Also

dbinom, dmultinom, rmultinom


[Package Corbi version 0.6-1 Index]