vPetersen: Estimated Variance of the Petersen Estimator

Description Usage Arguments Value Note Author(s) See Also Examples

View source: R/funcs.R

Description

Calculates the estimated variance of the Petersen estimator in a mark-recapture experiment, with given values of sample sizes and number of recaptures.

Usage

1
vPetersen(n1, n2, m2)

Arguments

n1

Number of individuals captured and marked in the first sample. This may be a single number or vector of values.

n2

Number of individuals captured in the second sample. This may be a single number or vector of values.

m2

Number of marked individuals recaptured in the second sample. This may be a single number or vector of values.

Value

The estimate variance of the Petersen estimator, calculated as (n1^2)*n2*(n2-m2)/(m2^3)

Note

Any Petersen-type estimator (such as this) depends on a set of assumptions:

Author(s)

Matt Tyers

See Also

NPetersen, sePetersen, rPetersen, pPetersen, powPetersen, ciPetersen

Examples

1
vPetersen(n1=100, n2=100, m2=20)

mbtyers/recapr documentation built on Sept. 13, 2021, 11:54 a.m.