Bivariate_LSDsim {trawl} | R Documentation |
Simulates from the bivariate logarithmic series distribution
Description
Simulates from the bivariate logarithmic series distribution
Usage
Bivariate_LSDsim(N, p1, p2)
Arguments
N |
number of data points to be simulated |
p1 |
parameter |
p2 |
parameter |
Details
The probability mass function of a random vector
following the bivariate logarithmic series distribution with parameters
with
is given by
for such
that
. The simulation proceeds in two steps: First,
is simulated from the modified logarithmic distribution with parameters
and
. Then
we simulate
conditional on
. We note that
follows the logarithmic series distribution with
parameter
when
, and the negative binomial
distribution with parameters
when
.
Value
An matrix with
simulated values from the
bivariate logarithmic series distribution