confint.estLCCRcon {LCCR} | R Documentation |
Confidence interval
Description
Profile confidence interval for a latent class model with covariates based on the CML method.
Usage
## S3 method for class 'estLCCRcon'
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 |
devh |
minimum deviance |
dev1 |
deviance at the lower bound |
dev2 |
deviance at the upper bound |
step |
step used in the grid search |
err |
error in the grid search |
Author(s)
Francesco Bartolucci, Antonio Forcina
References
Bartolucci, F. and Forcina, A. (2006). Estimating the size of a closed population by modeling latent and observed heterogeneity. Journal of the American Statistical Association, 101, 786-794.
See Also
Examples
data(data_sim2)
est = estLCCRcon(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)