pdarroch {bayess}R Documentation

Posterior probabilities for the Darroch model

Description

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).

Usage

pdarroch(n1, n2, m2)

Arguments

n1

size of the first capture experiment

n2

size of the second capture experiment

m2

number of recaptured individuals

Details

This model can be seen as a conditional version of the two-stage model when conditioning on both sample sizes n1 and n2.

Value

numerical value of the posterior expectation

See Also

pcapture

Examples

for (i in 6:16) print(round(sum(pdarroch(22,43,i)*1:400)))

[Package bayess version 1.4 Index]