Package: label.switching 1.8
label.switching: Relabelling MCMC Outputs of Mixture Models
The Bayesian estimation of mixture models (and more general hidden Markov models) suffers from the label switching phenomenon, making the MCMC output non-identifiable. This package can be used in order to deal with this problem using various relabelling algorithms.
Authors:
label.switching_1.8.tar.gz
label.switching_1.8.zip(r-4.5)label.switching_1.8.zip(r-4.4)label.switching_1.8.zip(r-4.3)
label.switching_1.8.tgz(r-4.4-any)label.switching_1.8.tgz(r-4.3-any)
label.switching_1.8.tar.gz(r-4.5-noble)label.switching_1.8.tar.gz(r-4.4-noble)
label.switching_1.8.tgz(r-4.4-emscripten)label.switching_1.8.tgz(r-4.3-emscripten)
label.switching.pdf |label.switching.html✨
label.switching/json (API)
# Install 'label.switching' in R: |
install.packages('label.switching', repos = c('https://mqbssppe.r-universe.dev', 'https://cloud.r-project.org')) |
This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.
Last updated 5 years agofrom:c610cb9772. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Oct 17 2024 |
R-4.5-win | OK | Oct 17 2024 |
R-4.5-linux | OK | Oct 17 2024 |
R-4.4-win | OK | Oct 17 2024 |
R-4.4-mac | OK | Oct 17 2024 |
R-4.3-win | OK | Oct 17 2024 |
R-4.3-mac | OK | Oct 17 2024 |
Exports:aiccompare.clustdataBasedecrecr.iterative.1ecr.iterative.2label.switchingpermute.mcmcprasjwstephens
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Algorithms for solving the label switching problem | label.switching-package |
Artificial Identifiability Constraints | aic |
Make all estimated clusters agree with a pivot allocation | compare.clust |
Simulated MCMC sample and related information | data_list |
Data-based labelling | dataBased |
ECR algorithm (default version) | ecr |
ECR algorithm (iterative version 1) | ecr.iterative.1 |
ECR algorithm (iterative version 2) | ecr.iterative.2 |
Main calling function | label.switching |
Fetal lamb dataset | lamb |
Reorder MCMC samples | permute.mcmc |
PRA algorithm | pra |
Probabilistic relabelling algorithm | sjw |
Stephens' algorithm | stephens |