Post-Processing MCMC Outputs of Bayesian Factor Analytic Models
Overview
A well known identifiability issue in factor analytic models is the invariance with respect to orthogonal transformations. This problem burdens the inference under a Bayesian setup, where Markov chain Monte Carlo (MCMC) methods are used to generate samples from the posterior distribution. The package applies a series of rotation, sign and permutation transformations (Papastamoulis and Ntzoufras (2022) DOI:10.1007/s11222-022-10084-4) into raw MCMC samples of factor loadings, which are provided by the user. The post-processed output is identifiable and can be used for MCMC inference on any parametric function of factor loadings. Comparison of multiple MCMC chains is also possible.
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- OK14 OK2026-03-10
Documentation
- Help pages
- 11includes a package overview page
- Examples that run
- 100%9 run in a plain check
- Exported functions with examples
- 89%
- Documented parameters
- not tracked
- Return-value docs
- not tracked
- Help pages citing references
- 64%
Downloads
Dependencies
Installing factor.switching adds 8 packages (5 with compiled code, 4.2 MB of source tarballs). Heaviest: mcmc 1.5 MB, quantreg 903 KB, MCMCpack 718 KB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 1.4Latest
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- 1.32022-03-16 · diff ↗
- 1.22021-07-13 · diff ↗
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- 1.12020-04-15 · diff ↗
- 1.02020-03-11
- RR 3.6.0 released · 2019-04-26
Package metadata
- First published
- 2020-03-11
- Total releases
- 5 / 6 yrs
- License
- GPL-2 OSI
- Bundled data
- 3.8 KB / 1 file
- Download size
- 22 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("factor.switching")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.1007/s11222-022-10084-4.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-20, which the citation names so these numbers can be found later. More on citing and the projects behind them.