Skip to content

MCMCprecision

0.4.2Package record

Precision of Discrete Parameters in Transdimensional MCMC

0packages depend
24.5Kdownloads / year
53.9%test coverage
13/13flavors OK

Overview

About

Estimates the precision of transdimensional Markov chain Monte Carlo (MCMC) output, which is often used for Bayesian analysis of models with different dimensionality (e.g., model selection). Transdimensional MCMC (e.g., reversible jump MCMC) relies on sampling a discrete model-indicator variable to estimate the posterior model probabilities. If only few switches occur between the models, precision may be low and assessment based on the assumption of independent samples misleading. Based on the observed transition matrix of the indicator variable, the method of Heck, Overstall, Gronau, & Wagenmakers (2019, Statistics & Computing, 29, 631-643) doi:10.1007/s11222-018-9828-0 draws posterior samples of the stationary distribution to (a) assess the uncertainty in the estimated posterior model probabilities and (b) estimate the effective sample size of the MCMC output.

Install

Health

CRAN checks
13OK
Slowest check: 4.3 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-09-08
  • ERROR12 OK, 1 ERROR2026-09-07
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK12 OK2026-04-25
Show 5 earlier changesHide 5 earlier changes
  • NOTE12 OK, 2 NOTE2026-04-22
  • ERROR11 OK, 2 NOTE, 1 ERROR2026-04-18
  • NOTE12 OK, 2 NOTE2026-04-10
  • ERROR11 OK, 2 NOTE, 1 ERROR2026-04-09
  • NOTE12 OK, 2 NOTE2026-03-10
Advisories

none known

Documentation

In release 0.4.2
README· In the repository, left out of the releaseVignettesYes · 1 · staticNEWSYes · 33% structuredCitation fileYes · cites a publicationWebsitenot declared in DESCRIPTION
Help pages
9includes a package overview page
Examples that run
100%8 run in a plain check
Exported functions with examples
100%
Documented parameters
96%
Return-value docs
43%
Help pages citing references
33%

Downloads

24.5K
CRAN downloads in the past year
Rank #2,105 · ~67/day · ~2K/mo
Daily download trend is not available in this view yet.
4K30 days
8.6K90 days
24.5K1 year
Compare downloads with other packages →
Also on777 r2u3 autocran7.3K conda_forge

Repository

0Stars
0Forks
0Open issues
0Open PRs
2Releases
70Commits
1Commit identities
70 commits · Last activity 2025-07-22
Responsiveness
not measured

Releases over time

2017-08-04 · 22026-07-07 · 2
PracticesBeta

2 development-tooling and community-health practices detected across 1 family in the upstream repository

Checks run against github.com/danheck/mcmcprecision on 2026-10-22.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, and on R-devel

How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
8 external dependencies (excludes base and recommended)

Installing MCMCprecision adds 5 packages (3 with compiled code, 4.5 MB of source tarballs). Heaviest: Rcpp 1.8 MB, RcppEigen 1.7 MB, RcppArmadillo 1.0 MB.

Depends (1)
R >= 4.0.0
Imports (6)
RcppparallelutilsstatsMatrixcombinat
Suggests (2)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (1)
Author, Maintainer since 0.3.6 (2017)
Releases (6)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.4.2Latest
    record
    2025-07-22 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • 0.4.0
    record
    2019-12-05 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 0.3.9
    record
    2018-08-10 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • 0.3.8
    record
    2018-04-08 · diff ↗ ·
    removed 5 exports
    best.k, dirichlet.mle, sim.mc, stationary.mle, table.mc
    added 5 exports
    best_models, fit_dirichlet, rmarkov, stationary_mle, transitions
  • 0.3.7
    record
    2017-08-04 · diff ↗
  • R
    R 3.4.0 released · 2017-04-21
  • 0.3.6
    record
    2017-04-03
Show 1 earlier eventHide 1 earlier event
  • R
    R 3.3.0 released · 2016-05-03

Package metadata

First published
2017-04-03
Total releases
6 / 9 yrs
License
GPL-3 OSI
Minimum R
≥ 4.0.0
Download size
382 KB

Cite

Cite this package

Run in R for the authors' entry:

citation("MCMCprecision")

The package provides a citation file, so citation() returns the authors' own entry.

It points to 10.1007/s11222-018-9828-0.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for MCMCprecision version 0.4.2 [Data set]. HJJB, LLC. Data release v2026-10-23. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy