Bivariate_NBsim {trawl} | R Documentation |
Simulates from the bivariate negative binomial distribution
Description
Simulates from the bivariate negative binomial distribution
Usage
Bivariate_NBsim(N, kappa, p1, p2)
Arguments
N |
number of data points to be simulated |
kappa |
parameter |
p1 |
parameter |
p2 |
parameter |
Details
A random vector is said to follow the
bivariate negative binomial distribution with parameters
if its probability mass function is given by
where,
for ,
,
such that
and
.
Value
An matrix with
simulated values from the bivariate negative
binomial distribution
[Package trawl version 0.2.2 Index]