Random values generation from the bivariate Poisson distribution | R Documentation |
Random values generation from the bivariate Poisson distribution.
rbp(n, lambda)
n |
The sample size. |
lambda |
A vector with the three parameters, |
In order to generate values from this distribution one needs three independent Poisson variables, X_1 \sim \text{Po}\left(\lambda_1\right)
, X_2 \sim \text{Po}\left(\lambda_2\right)
and X_3 \sim \text{Po}\left(\lambda_3\right)
. Then, \left(X,Y\right)=\left(X_1+X3,X_2+X_3\right) \sim \text{BP}\left(\lambda_1,\lambda_2,\lambda_3\right)
.
A matrix with n rows and 2 columns.
Michail Tsagris.
R implementation and documentation: Michail Tsagris mtsagris@uoc.gr.
Kocherlakota S. and Kocherlakota K. (1992). Bivariate discrete distributions. CRC PRess.
bp.mle
x <- rbp( 300, c(3, 5, 2) )
bp.mle(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.