fitTirm: Fit Two Innate Rates Model (TIRM)

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

Fits the Two Innate Rates Model (TIRM) to count data to obtain the MLE for population size

Usage

1
fitTirm(data, max.pop)

Arguments

data

A two-column data frame with the first column specifiying the capture class (i.e. individuals in class i were caught i times) and the second column specifying the number of individuals in each class

max.pop

The maximum population size

Details

The TIRM model fit by this function assumes that individuals can be assigned to two classes. Class A represent the frequently captured individuals. Class B represents the infrequently captured individuals.

The value is specified for max.pop is not likely to matter as long as it is much greater than the maximum likelihood estimate for population size.

Note that if the data contains only singletons, the data is not informative and the maximum likelihood estimate for population size will be equal to max.pop

Value

model

The model specified

likelihood

The likelihood of the model

ml.pop.size

The maximum likelihood estimate for population size

ml.na

The maximum likelihood estimate for the number of individuals in class A

ml.nb

The maximum likelihood estimate for the number of individuals in class B

alpha

The ratio of the rates of captures between class A and class B individuals

cap.ind

The mean number of captures per individual

sampled.ind

The total number of individuals in the sample

sample.size

Total number of samples in the data set

max.pop

The maximum population size specified by max.pop

Author(s)

Matthew W. Pennell

References

Miller C. R., P. Joyce and L.P. Waits. 2005. A new method for estimating the size of small populations from genetic mark-recapture data. Molecular Ecology 14:1991-2005.

See Also

simTirm

Examples

1
2
3
4
5
6
7
8
9
## Simulate data under Two Innate Rates Model

data <- simTirm(na=20, nb=15, alpha=4, s=150)

## Fit Two Innate Rates Model to Data

res <- fitTirm(data=data, max.pop=200)

res

Example output

$model
[1] "Two.innate.rates"

$likelihood
[1] -495.3913

$ml.pop.size
[1] 35

$ml.na
[1] 9

$ml.nb
[1] 26

$alpha
[1] 3.777778

$cap.ind
[1] 4.545455

$sampled.ind
[1] 33

$sample.size
[1] 150

$max.pop
[1] 200

capwire documentation built on May 2, 2019, 9:45 a.m.