View source: R/strataEstimation.R
stratifyPopsize | R Documentation |
A function that estimates sizes of specific sub populations based on a capture-recapture model for the whole population.
stratifyPopsize(object, strata, alpha, ...)
## S3 method for class 'singleRStaticCountData'
stratifyPopsize(object, strata, alpha, cov = NULL, ...)
object |
an object on which the population size estimates should be based
in |
strata |
a specification of sub populations given by one of:
|
alpha |
significance level for confidence intervals –
Either a single numeric value or a vector of length equal to number of
sub populations specified in |
... |
a vector of arguments to be passed to other functions.
For |
cov |
for |
In single source capture-recapture models the most frequently used estimate for population size is Horvitz-Thompson type estimate:
\mjsdeqn\hatN = \sum_k=1^N\fracI_k\mathbbP(Y_k>0) = \sum_k=1^N_obs\frac11-\mathbbP(Y_k=0)
where \mjseqnI_k=I_Y_k > 0 are indicator variables, with value 1 if kth unit was observed at least once and 0 otherwise and the inverse probabilistic weights weights for units observed in the data \mjseqn\tfrac1\mathbbP(Y_k>0) are estimated using fitted linear predictors.
The estimates for different sub populations are made by changing the \mjseqnI_k=I_Y_k > 0 indicator variables to refer not to the population as a whole but to the sub populations that are being considered i.e. by changing values from 1 to 0 if kth unit is not a member of sub population that is being considered at the moment.
The estimation of variance for these estimates and estimation of variance for estimate of population size for the whole population follow the same relation as the one described above.
A data.frame
object with row names being the names of specified
sub populations either provided or inferred.
vcov.singleRStaticCountData()
estimatePopsize()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.