Description Usage Arguments Value Author(s) References Examples
random generation (rbp
), maximum likelihood estimation (bp
),
and log-likelihood. (lik.bp
) for the bivariate Poisson
distribution with parameters equal to (m0, m1, m2)
.
1 2 3 4 5 |
xvec, yvec |
a pair of bp random vectors. nonnegative integer vectors. If not integers, they will be rounded to the nearest integers. |
m0, m1, m2 |
mean parameters of the Poisson variables. They must be positive. |
param |
a vector of parameters ( |
n |
number of observations. |
tol |
tolerance for judging convergence. |
rbp
gives a pair of random vectors following BP distribution.
bp
gives the maximum likelihood estimates of a BP pair.
lik.bp
gives the log-likelihood of a set of parameters for a BP pair.
Hunyong Cho, Chuwen Liu, Jinyoung Park, and Di Wu
Cho, H., Liu, C., Preisser, J., and Wu, D. (In preparation), "A bivariate zero-inflated negative binomial model for identifying underlying dependence"
Kocherlakota, S. & Kocherlakota, K. (1992). Bivariate Discrete Distributions. New York: Marcel Dekker.
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.