Skip to content

factor.switching

Post-Processing MCMC Outputs of Bayesian Factor Analytic Models

v1.4 · Feb 12, 2024 · GPL-2

Description

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.

Downloads

350

Last 30 days

10968th

884

Last 90 days

3.5K

Last year

Trend: +17.1% (30d vs prior 30d)

CRAN Check Status

14 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Reverse Dependencies (1)

imports

Dependency Network

Dependencies Reverse dependencies coda HDInterval lpSolve MCMCpack DGP4LCF factor.switching

Version History

new 1.4 Mar 10, 2026
updated 1.4 ← 1.3 diff Feb 11, 2024
updated 1.3 ← 1.2 diff Mar 15, 2022
updated 1.2 ← 1.1 diff Jul 12, 2021
updated 1.1 ← 1.0 diff Apr 14, 2020
new 1.0 Mar 10, 2020