stratifyPopsize {singleRcapture} | R Documentation |
Estimate size of sub populations.
Description
A function that estimates sizes of specific sub populations based on a capture-recapture model for the whole population.
Usage
stratifyPopsize(object, stratas, alpha, ...)
## S3 method for class 'singleRStaticCountData'
stratifyPopsize(object, stratas, alpha, cov = NULL, ...)
Arguments
object |
an object on which the population size estimates should be based
in |
stratas |
a specification of sub populations either by:
|
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 |
Details
In single source capture-recapture models the most frequently used estimate for population size is Horvitz-Thompson type estimate:
\[\hat{N} = \sum_{k=1}^{N}\frac{I_{k}}{\mathbb{P}(Y_{k}>0)} = \sum_{k=1}^{N_{obs}}\frac{1}{1-\mathbb{P}(Y_{k}=0)}\]where \(I_{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 \(\tfrac{1}{\mathbb{P}(Y_{k}>0)}\) are estimated using fitted linear predictors.
The estimates for different sub populations are made by changing the \(I_{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.
Value
A data.frame
object with row names being the names of specified
sub populations either provided or inferred.
See Also
vcov.singleRStaticCountData()
estimatePopsize()