spifa: Bayesian Spatial Item Factor Analysis

Fits spatial item factor analysis models for binary responses, following Chacón-Montalván, E. A., Parry, L., Giorgi, E., Torres, P., Orellana, J. D. Y., Moraga, P., and Taylor, B. M. (2025) <doi:10.1214/25-AOAS2072>, using full Bayesian inference via adaptive Metropolis-Hastings within Gibbs sampling and auxiliary variables with a probit link function. The latent factors are modelled as the sum of a predictor effect, a multivariate Gaussian process capturing spatial dependence, and a multivariate non-spatial term, allowing users to fit and predict spatially-referenced constructs such as food insecurity or socioeconomic indices. Standard exploratory and confirmatory item factor analysis are supported as particular cases, simply by dropping the spatial structure.

Version: 0.1.0
Depends: R (≥ 4.1.0)
Imports: Rcpp (≥ 0.12.13), RcppTN, tibble, dplyr, tidyr, sf, ggplot2, posterior, ggridges, patchwork
LinkingTo: Rcpp, RcppArmadillo, RcppTN
Suggests: knitr, rmarkdown, testthat (≥ 3.0.0), mirt, gstat
Published: 2026-10-22
DOI: 10.32614/CRAN.package.spifa (may not be active yet)
Author: Erick A. Chacón-Montalván ORCID iD [aut, cre], Emanuele Giorgi [ctb], Benjamin M. Taylor [ctb]
Maintainer: Erick A. Chacón-Montalván <erick.chaconmontalvan at wur.nl>
BugReports: https://github.com/ErickChacon/spifa/issues
License: GPL-3
URL: https://github.com/ErickChacon/spifa, https://ErickChacon.github.io/spifa/
NeedsCompilation: yes
Citation: spifa citation info
Materials: README, NEWS
CRAN checks: spifa results

Documentation:

Reference manual: spifa.html , spifa.pdf
Vignettes: Bayesian Spatial Item Factor Analysis (source, R code)
Data preparation (source, R code)
Model types (source, R code)
Advanced features (source, R code)
Integrated workflow (source, R code)

Downloads:

Package source: spifa_0.1.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): not available, r-oldrel (x86_64): not available

Linking:

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

mirror server hosted at Truenetwork, Russian Federation.