Description Usage Arguments Value Note Author(s) See Also Examples
Conducts two chi-squared tests for the consistency of the Petersen-type abundance estimator. These tests provide explore evidence against equal capture probabilities in either the first or second sampling event. Also conducts a third chi-squared test of unequal capture probabilities between sampling events for each stratum, in the case of small sample sizes (fewer than 100 in either sampling event and fewer than 30 recaptures), which may be used to suggest unequal capture probabilities in either the first or second event.
Typically, if either of the first two test p-values is greater than the significance level, use of a Petersen-type estimator is considered justified.
If tests give evidence of unequal capture probabilities between strata, a stratified estimator should be used, such as Nstrat.
This function assumes stratification in both sampling events, such that individuals cannot move from one strata to another (such as by size or gender). If movement between strata may occur (such as in the case of stratification by time or area), use of consistencytest is recommended.
1 |
n1 |
Vector of n1 counts (sample size in the first event), each element corresponding to one stratum. |
n2 |
Vector of n2 counts (sample size in the second event), each element corresponding to one stratum. |
m2 |
Vector of m2 counts (number of recaptures in the second event), each element corresponding to one stratum. |
... |
Additional arguments for chisq.test |
A list of class "recapr_strattest"
with the following
components:
event1_table
The contingency table
used for the first test
event1_Xsqd
The chi-squared test
statistic in the first test
event1_df
The associated
degrees of freedom in the first test
event1_pval
The
p-value returned from the first test
event2_table
The
contingency table used for the second test
event2_Xsqd
The
chi-squared test statistic in the second test
event2_df
The
associated degrees of freedom in the second test
event2_pval
The p-value returned from the second test
event1v2_table
The contingency table used for the third test
event1v2_Xsqd
The chi-squared test statistic in the third test
event1v2_df
The associated degrees of freedom in the third
test
event1v2_pval
The p-value returned from the second
third
Any Petersen-type estimator (such as this) depends on a set of assumptions:
The population is closed; that is, that there are no births, deaths, immigration, or emigration between sampling events
All individuals have the same probability of capture in one of the two events, or complete mixing occurs between events
Marking in the first event does not affect probability of recapture in the second event
Individuals do not lose marks between events
All marks will be reported in the second event
Matt Tyers
powstrattest, Nstrat, consistencytest
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.