pdarroch | R Documentation |
This function computes the posterior expectation of the population size for a two-stage Darroch capture-recapture experiment (Chapter 5) under a uniform prior on the range (0,400).
pdarroch(n1, n2, m2)
n1 |
size of the first capture experiment |
n2 |
size of the second capture experiment |
m2 |
number of recaptured individuals |
This model can be seen as a conditional version of the two-stage model when
conditioning on both sample sizes n_1
and n_2
.
numerical value of the posterior expectation
pcapture
for (i in 6:16) print(round(sum(pdarroch(22,43,i)*1:400)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.