https://github.com/chkiefer/lavacreg
lavacreg (Latent Variable Count Regression Models)) is an R package to estimate multigroup structural equation models with count regressions (Poisson or negative binomial).
https://github.com/chkiefer/lavacreg
count-regression latent-covariates structural-equation-modeling
Last synced: 8 months ago
JSON representation
lavacreg (Latent Variable Count Regression Models)) is an R package to estimate multigroup structural equation models with count regressions (Poisson or negative binomial).
- Host: GitHub
- URL: https://github.com/chkiefer/lavacreg
- Owner: chkiefer
- Created: 2020-07-09T07:26:06.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2025-06-20T11:43:02.000Z (12 months ago)
- Last Synced: 2025-10-22T05:50:43.010Z (8 months ago)
- Topics: count-regression, latent-covariates, structural-equation-modeling
- Language: R
- Homepage: https://chkiefer.github.io/lavacreg/
- Size: 18.6 MB
- Stars: 3
- Watchers: 1
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: NEWS.md
Awesome Lists containing this project
README
# lavacreg: Latent Variable Count Regression Models
[](https://www.repostatus.org/#wip)
lavacreg is an R package for fitting count regression models (i.e., Poisson, negative binomial) with manifest as well as latent covariates and within multiple groups. It can be installed via GitHub.
## Installation
`lavacreg` is currently on CRAN. The development version of `lavacreg` can be installed directly from this GitHub repository using the additional package `devtools`. Under Windows, please make sure Rtools (http://cran.r-project.org/bin/windows/Rtools) are installed and no older version of `lavacreg` is currently loaded:
```
install.packages("devtools")
library(devtools)
install_github("chkiefer/lavacreg")
```
## Run lavacreg
The main function of the package is `countreg()`. There is an article available here on GitHub (https://chkiefer.github.io/lavacreg/articles/intro.html) to introduce you to its functionality.