confint.estLCCR {LCCR} | R Documentation |
Confidence interval
Description
Profile confidence interval for a latent class model with covariates.
Usage
## S3 method for class 'estLCCR'
confint(object, parm = list(), level = 0.95, ...)
Arguments
object |
output from |
parm |
a list containing control arguments for the step length of the N values( |
level |
the confidence level required |
... |
additional argument(s) for methods |
Value
conf |
confidence interval |
Nv |
vector of values of N tried |
lkv |
corresponding vector of log-likelihood values |
level |
level of confidence |
Nh |
point estimate of N |
lkh |
maximum log-likelihood values |
lk1 |
log-likelihood value at the lower bound |
lk2 |
log-likelihood value at the upper bound |
step |
step used in the grid search |
err |
error in the grid search |
Author(s)
Francesco Bartolucci, Antonio Forcina
References
Forcina, A. and Bartolucci, F. (2021). Estimating the size of a closed population by modeling latent and observed heterogeneity, arXiv:2106.03811.
Liu, Y., Li, P., and Qin, J. (2017). Maximum empirical likelihood estimation for abundance in a closed population from capture-recapture data. Biometrika, 104, 527-543.
See Also
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")
conf = confint(est)
plot(conf)