ardipper: Accept-reject algorithm for the open population...

View source: R/ardipper.R

ardipperR 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 r1, the number of individuals vanishing between the first and second experiments, as expressed in (5.4) in the book, conditional on r2, 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)

bayess documentation built on Aug. 11, 2022, 5:07 p.m.

Related to ardipper in bayess...