Package: lavacreg Type: Package Title: Latent Variable Count Regression Models Version: 0.2-3-9013 Date: 2026-10-14 Authors@R: c(person("Christoph", "Kiefer", email = "christoph.kiefer@uni-bielefeld.de", role = c("cre", "aut"), comment = c(ORCID = "0000-0002-9166-400X"))) Description: Estimation of a multi-group count regression models (i.e., Poisson, negative binomial) with latent covariates. This packages provides two extensions compared to ordinary count regression models based on a generalized linear model: First, measurement models for the predictors can be specified allowing to account for measurement error. Second, the count regression can be simultaneously estimated in multiple groups with stochastic group weights. The marginal maximum likelihood estimation is described in Kiefer & Mayer (2020) . License: GPL (>= 2) URL: https://github.com/chkiefer/lavacreg BugReports: https://github.com/chkiefer/lavacreg/issues LazyData: true Depends: R (>= 4.1.0) Imports: Rcpp (>= 1.0.5), fastGHQuad, pracma, methods, stats, SparseGrid, lavaan, data.table LinkingTo: Rcpp, RcppArmadillo RoxygenNote: 7.3.3 Suggests: knitr, rmarkdown, testthat Encoding: UTF-8 VignetteBuilder: knitr Repository: https://chkiefer.r-universe.dev Date/Publication: 2026-10-14 19:54:41 UTC RemoteUrl: https://github.com/chkiefer/lavacreg RemoteRef: HEAD RemoteSha: 8cc04bddf8ef77c543a55ff70e0f8fef6595f688 NeedsCompilation: yes Packaged: 2026-10-14 21:43:56 UTC; root Author: Christoph Kiefer [cre, aut] (ORCID: ) Maintainer: Christoph Kiefer