Package: lavacreg Type: Package Title: Latent Variable Count Regression Models Version: 0.2-3-9011 Date: 2026-06-05 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-06-08 09:09:54 UTC RemoteUrl: https://github.com/chkiefer/lavacreg RemoteRef: HEAD RemoteSha: 920c9605dbf8d0062007737a32b2058c383d3dd6 NeedsCompilation: yes Packaged: 2026-07-08 08:41:32 UTC; root Author: Christoph Kiefer [cre, aut] (ORCID: ) Maintainer: Christoph Kiefer