ardipper {bayess} | R Documentation |
Accept-reject algorithm for the open population capture-recapture model
Description
This function is associated with Chapter 5 on capture-recapture model.
It simulates samples from the non-standard
distribution on r_1
, the number of individuals vanishing
between the first and second experiments, as expressed in (5.4)
in the book, conditional on r_2
, the number of individuals vanishing
between the second and third experiments.
Usage
ardipper(nsimu, n1, c2, c3, r2, q1)
Arguments
nsimu |
number of simulations |
n1 |
first capture sample size |
c2 |
number of individuals recaptured during the second experiment |
c3 |
number of individuals recaptured during the third experiment |
r2 |
number of individuals vanishing between the second and third experiments |
q1 |
probability of disappearing from the population |
Value
A sample of nsimu
integers
Examples
ardipper(10,11,3,1,0,.1)
[Package bayess version 1.6 Index]