INLAvaan: Approximate Bayesian Latent Variable Analysis

Implements approximate Bayesian inference for Structural Equation Models (SEM) using a custom adaptation of the Integrated Nested Laplace Approximation (Rue et al., 2009) <doi:10.1111/j.1467-9868.2008.00700.x> as described in Jamil and Rue (2026a) <doi:10.48550/arXiv.2603.25690>. Provides a computationally efficient alternative to Markov Chain Monte Carlo (MCMC) for Bayesian estimation, allowing users to fit latent variable models using the 'lavaan' syntax. See also the companion paper on implementation and workflows, Jamil and Rue (2026b) <doi:10.48550/arXiv.2604.00671>.

Version: 0.2.4
Depends: R (≥ 3.5)
Imports: cli, graphics, lavaan, methods, parallel, stats, utils
Suggests: blavaan, ggplot2, knitr, lme4, numDeriv, qrng, quarto, sn, testthat (≥ 3.0.0), ucminf
Published: 2026-04-03
DOI: 10.32614/CRAN.package.INLAvaan
Author: Haziq Jamil ORCID iD [aut, cre, cph], HÃ¥vard Rue ORCID iD [ctb] (Statistical and computational methodology), Alvin Bong [ctb] (Initial site build)
Maintainer: Haziq Jamil <haziq.jamil at gmail.com>
BugReports: https://github.com/haziqj/INLAvaan/issues
License: GPL (≥ 3)
URL: https://inlavaan.haziqj.ml/, https://github.com/haziqj/INLAvaan
NeedsCompilation: no
Citation: INLAvaan citation info
Materials: README, NEWS
CRAN checks: INLAvaan results

Documentation:

Reference manual: INLAvaan.html , INLAvaan.pdf
Vignettes: Introduction to INLAvaan (source, R code)
Mediation Analysis (source, R code)

Downloads:

Package source: INLAvaan_0.2.4.tar.gz
Windows binaries: r-devel: INLAvaan_0.2.3.zip, r-release: INLAvaan_0.2.3.zip, r-oldrel: INLAvaan_0.2.3.zip
macOS binaries: r-release (arm64): INLAvaan_0.2.4.tgz, r-oldrel (arm64): INLAvaan_0.2.3.tgz, r-release (x86_64): INLAvaan_0.2.3.tgz, r-oldrel (x86_64): INLAvaan_0.2.3.tgz
Old sources: INLAvaan archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=INLAvaan to link to this page.