50% off: Unlimited data and AI learning.
State of Data and AI Literacy Report 2025

bivpois (version 1.1)

Random values generation from the bivariate Poisson distribution: Random values generation from the bivariate Poisson distribution

Description

Random values generation from the bivariate Poisson distribution.

Usage

rbp(n, lambda)

Value

A matrix with n rows and 2 columns.

Arguments

n

The sample size.

lambda

A vector with the three parameters, (λ1,λ2,λ3) of the Poisson distribution.

Author

Michail Tsagris.

R implementation and documentation: Michail Tsagris mtsagris@uoc.gr.

Details

In order to generate values from this distribution one needs three independent Poisson variables, X1Po(λ1), X2Po(λ2) and X3Po(λ3). Then, (X,Y)=(X1+X3,X2+X3)BP(λ1,λ2,λ3).

References

Kocherlakota S. and Kocherlakota K. (1992). Bivariate discrete distributions. CRC PRess.

See Also

bp.mle

Examples

Run this code
x <- rbp( 300, c(3, 5, 2) )
bp.mle(x)

Run the code above in your browser using DataLab