confint.estLCCRcon function

Confidence interval

Confidence interval

Profile confidence interval for a latent class model with covariates based on the CML method.

## S3 method for class 'estLCCRcon' confint(object, parm = list(), level = 0.95, ...)

Arguments

  • object: output from estLCCR
  • parm: a list containing control arguments for the step length of the N values(step, default value depending on the estimate of N), range of N values in terms of distance of the log-likelhood from the its maximum (mult, default value 1.5), and maximum value of this grid as a multiple of the estimate of this parameter (max, default value 5)
  • level: the confidence level required
  • ...: additional argument(s) for methods

Returns

  • 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

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.

Author(s)

Francesco Bartolucci, Antonio Forcina

See Also

estLCCR, plot.confLCCR

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)
  • Maintainer: Francesco Bartolucci
  • License: GPL (>= 2)
  • Last published: 2025-03-22

Useful links