| data_sim4 {LCCR} | R Documentation |
Simulated data 4
Description
Simulated stratified capture-recapture data from a latent class model with 2 classes and covariates affecting both the class weights and the conditional capture probabilities given the latent class.
Usage
data(data_sim4)
Format
A list containing capture configurations at individual level and corresponding covariates.
Ycapture configurations
Wvalues of the covariate affecting the class weights
Xvalues of the covariate affecting the conditional capture probabilities given the latent class
References
Forcina, A. and Bartolucci, F. (2021). Estimating the size of a closed population by modeling latent and observed heterogeneity, arXiv:2106.03811.
Examples
data(data_sim4)
est = estLCCR(Y=data_sim4$Y,H=2,X=data_sim4$X,W=data_sim4$W)
[Package LCCR version 1.3 Index]