factor.switching
1.4Post-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
- OK2026-08-0513 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- NOTE2026-08-0112 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- OK2026-06-0913 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-06-0812 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- OK2026-03-1014 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 100%
- Documented parameters
- not tracked
- Return-value docs
- not tracked
- References docs
- 64%
Downloads
Dependencies
Code & Tests
People & History
5 releases. Pick two to compare their code metrics. R releases are shown for context.
- 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
- Installed size
- not tracked yet
- With dependencies
- not tracked yet
Cite
Cite this package
Start here. This is the citation for the package itself.
citation("factor.switching")CRAN DOI
https://doi.org/10.32614/CRAN.package.factor.switchingBibTeX, derived from DESCRIPTION
@Manual{factorswitching,
title = {factor.switching: Post-Processing MCMC Outputs of Bayesian Factor Analytic Models},
author = {Papastamoulis, Panagiotis},
year = {2024},
note = {R package version 1.4},
doi = {10.32614/CRAN.package.factor.switching},
url = {https://CRAN.R-project.org/package=factor.switching}
}Derived from the package DESCRIPTION, not from a citation file the authors wrote. If they publish one later, prefer it.
This is the citation for the package. It is not a citation for the R Observatory.
Cite this page
Use this when the claim is about a measurement on this page.
BibTeX
@misc{robservatoryfactorswitching,
author = {Balamuta, James Joseph},
title = {{R} {Observatory}: Metrics for {factor.switching} version 1.4},
year = {2026},
publisher = {HJJB, LLC},
url = {https://r-observatory.thecoatlessprofessor.com/packages/factor.switching},
note = {Data set. Data release v2026-08-05}
}APA
Balamuta, J. J. (2026). R Observatory: Metrics for factor.switching version 1.4 [Data set]. HJJB, LLC. Data release v2026-08-05. https://r-observatory.thecoatlessprofessor.com/packages/factor.switchingRIS
TY - DATA
AU - Balamuta, James Joseph
TI - R Observatory: Metrics for factor.switching version 1.4
PY - 2026
PB - HJJB, LLC
N1 - Data release v2026-08-05
UR - https://r-observatory.thecoatlessprofessor.com/packages/factor.switching
ER - In prose
These package metrics were obtained from the R Observatory (Balamuta, 2026), data release v2026-08-05, https://r-observatory.thecoatlessprofessor.com/packages/factor.switching.Bound to data release v2026-08-05, which is what makes the numbers on this page reproducible. See how to cite.