Package: spifa 0.1.0

Erick A. Chacón-Montalván
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.
Authors:
spifa_0.1.0.tar.gz
spifa_0.1.0.zip(r-4.7-x86_64)spifa_0.1.0.zip(r-4.7-arm64)spifa_0.1.0.zip(r-4.6-x86_64)spifa_0.1.0.zip(r-4.6-arm64)
spifa_0.1.0.tar.gz(r-4.7-arm64)spifa_0.1.0.tar.gz(r-4.7-x86_64)spifa_0.1.0.tar.gz(r-4.6-arm64)spifa_0.1.0.tar.gz(r-4.6-x86_64)
spifa_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
spifa/json (API)
| # Install 'spifa' in R: |
| install.packages('spifa', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/erickchacon/spifa/issues
Pkgdown/docs site:https://erickchacon.github.io
- ipixuna - Simulated Food Insecurity Survey Data for Ipixuna
Last updated from:68e38b172e. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 162 | ||
| linux-devel-x86_64 | OK | 219 | ||
| source / vignettes | OK | 456 | ||
| linux-release-x86_64 | OK | 210 | ||
| windows-devel-arm64 | OK | 300 | ||
| windows-devel-x86_64 | OK | 193 | ||
| windows-release-arm64 | OK | 289 | ||
| windows-release-x86_64 | OK | 204 | ||
| wasm-release | OK | 165 |
Exports:dicplot_densityplot_intervalplot_predictplot_tracespifa
Dependencies:abindbackportscheckmateclassclassIntclicpp11DBIdistributionaldplyre1071farvergenericsggplot2ggridgesgluegtableisobandKernSmoothlabelinglifecyclemagrittrmatrixStatsnumDerivpatchworkpillarpkgconfigposteriorproxypurrrR6RColorBrewerRcppRcppArmadilloRcppTNrlangs2S7scalessfstringistringrtensorAtibbletidyrtidyselectunitsutf8vctrsviridisLitewithrwk
Last update: 2026-10-22
Started: 2026-10-22
Last update: 2026-10-22
Started: 2026-10-22
Last update: 2026-10-22
Started: 2026-10-22
Last update: 2026-10-22
Started: 2026-10-22
Last update: 2026-10-22
Started: 2026-10-22
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| spifa: Bayesian Spatial Item Factor Analysis | spifa-package |
| Deviance Information Criterion | dic |
| Deviance Information Criterion for a spifa Model | dic.spifa |
| Simulated Food Insecurity Survey Data for Ipixuna | ipixuna |
| Density Plot of spifa Posterior Samples | plot_density |
| Interval Plot of spifa Posterior Samples | plot_interval |
| Map Posterior Predictions from a Fitted spifa Model | plot_predict |
| Trace Plot of spifa Posterior Samples | plot_trace |
| Default Plot of spifa Posterior Samples | plot.spifa |
| Predict the Latent Factors of a spifa Model | predict.spifa |
| Print spifa Posterior Samples | print.spifa |
| Bayesian Spatial Item Factor Analysis | spifa |
| Summarise spifa Posterior Samples | summary.spifa |
| Continue Sampling from the Posterior of a spifa Model | update.spifa |
