data_sim2 {LCCR} | R Documentation |
Simulated data 2
Description
Simulated capture-recapture data from a latent class model with 2 classes, one covariate affecting the class weights, and bivariate loglinear interactions between consecutive lists.
Usage
data(data_sim2)
Format
A list containing capture configurations at individual level and corresponding covariates.
Y
capture configurations
W
values of the covariate affecting the class weights
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_sim2)
est = estLCCR(Y=data_sim2$Y,H=2,W=data_sim2$W,biv=matrix(c(1,2,3,4,2,3,4,5),4),main="same")
[Package LCCR version 1.3 Index]