Package: vbpm 0.9.1

vbpm: Variational Bayes Psychometric Models

Variational Bayes estimation for a family of psychometric measurement models. Two models are provided. Variational Bayes factor analysis (vbfa) is a regularized partially confirmatory factor model spanning the confirmatory-exploratory continuum via spike-and-slab priors on the loadings (Chen, Guo, Zhang, and Pan, 2021 <doi:10.1037/met0000293>; Chen, 2023 <doi:10.3758/s13428-022-01884-7>; Jin and Chen, 2025 <doi:10.1080/10705511.2024.2432612>), with an optional dynamic (warm-started) regularization path, an orthogonal bifactor parameterization, and optional sparse residual (local dependence) estimation through a graphical spike-and-slab prior solved by QUIC (Jin, Chen, Yan, and Zhang, 2026 <doi:10.31234/osf.io/dehtv_v2>). Regularized MIMIC (vbmimic) extends this to multiple-indicators multiple-causes models, placing spike-and-slab priors on both the measurement and the structural part (Jin and Chen, 2025 <doi:10.1080/00273171.2025.2483253>). Companion tools compute SEM-like fit statistics, and sweep a factor-count window to report candidate fit, criterion, and between-candidate loading-correspondence measurements without selecting a count (Chen and Jin, 2026 <doi:10.48550/arXiv.2607.07159>). Data generators for either model family are also provided.

Authors:Jinsong Chen [aut, cre], Yi Jin [aut]

vbpm_0.9.1.tar.gz
vbpm_0.9.1.zip(r-4.7-x86_64)vbpm_0.9.1.zip(r-4.7-arm64)vbpm_0.9.1.zip(r-4.6-x86_64)vbpm_0.9.1.zip(r-4.6-arm64)vbpm_0.9.1.zip(r-4.5-x86_64)
vbpm_0.9.1.tgz(r-4.6-x86_64)vbpm_0.9.1.tgz(r-4.6-arm64)vbpm_0.9.1.tgz(r-4.5-x86_64)vbpm_0.9.1.tgz(r-4.5-arm64)
vbpm_0.9.1.tar.gz(r-4.7-arm64)vbpm_0.9.1.tar.gz(r-4.7-x86_64)vbpm_0.9.1.tar.gz(r-4.6-arm64)vbpm_0.9.1.tar.gz(r-4.6-x86_64)
vbpm_0.9.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
vbpm/json (API)

# Install 'vbpm' in R:
install.packages('vbpm', repos = c('https://jinsong-chen.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/jinsong-chen/vbpm/issues

Uses libs:
  • openblas– Optimized BLAS
  • c++– GNU Standard C++ Library v3
Datasets:
  • nlsy27 - National Longitudinal Survey of Youth 1997

On CRAN:

Conda:

openblascpp

5.08 score 1 stars 298 downloads 8 exports 3 dependencies

Last updated from:ac7747a47e. Checks:15 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK140
linux-devel-x86_64OK161
source / vignettesOK229
linux-release-arm64OK160
linux-release-x86_64OK149
macos-release-arm64OK131
macos-release-x86_64OK346
macos-oldrel-arm64OK169
macos-oldrel-x86_64OK329
windows-devel-arm64OK360
windows-devel-x86_64OK180
windows-release-arm64OK354
windows-release-x86_64OK168
windows-oldrel-x86_64OK133
wasm-releaseOK94

Exports:fit_statspefasim_fasim_lvmspecial_effectssslvbfavbmimic

Dependencies:MASSRcppRcppArmadillo

Bifactor Structures and PEFA Sweeps
Three related structures | A bifactor population and two backbones | Step 1: ordinary oblique sweeps | Step 2: a comparison derived from Step 1 | The same window as a bifactor sweep | References

Last update: 2026-08-24
Started: 2026-07-23

PEFA: Factor-Count Evidence from a Fixed Window
Decision inventory | One sweep | The candidate table | Adjacent transitions | Persistence, read directly | Column strength | What the three readings say here | Analysis-side dual-count and persistence profiles | Display methods | Scope | References

Last update: 2026-08-24
Started: 2026-07-18

Getting started with vbpm: partially confirmatory factor analysis
The design matrix Q | Simulate, design, fit | Fit statistics | Local dependence | Restricting the search: Qe | Diagonal vs. local dependence: does modeling residual correlation matter? | The ld_control knob | Missing data | A simulated illustration | Empirical: NLSY 1997 | From graded knowledge to a Q matrix | References

Last update: 2026-08-19
Started: 2026-07-18

MIMIC models with vbmimic: regularizing measurement and structure
Simulating MIMIC data | Anchor at least one part | Fit and read | Missing responses | Options worth knowing | References

Last update: 2026-08-19
Started: 2026-07-18