Skip to content

MCMCprecision

0.4.2

Precision of Discrete Parameters in Transdimensional MCMC

0packages depend
23.9Kdownloads / year
53.9%test coverage
13/13checks pass

Overview

About
Maintained by Daniel W. HeckFirst published 2017-04-036 releasesCRAN page ↗GitHub ↗

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
Code health
Yes
Tests · ratio 0.17
53.9%
Coverage · measured lines
100%
Documentation · exports
6
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-04-25
    12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-04-22
    12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-18
    11 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
Show 3 earlier snapshots
  • NOTE2026-04-10
    12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-09
    11 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • NOTE2026-03-10
    12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesNopkgdown siteNoNEWSYes · 33% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
96%
Return-value docs
43%
References docs
33%

Downloads

23.9K
CRAN downloads in the past year
Rank #2,776 · ~66/day · ~2K/mo
Daily download trend is not available in this view yet.
1.9K30 days
5.7K90 days
23.9K1 year
Compare downloads with other packages →
Also on478 r2u25 autocran6.5K conda_forge

Repository

Repository
0Stars
0Forks
0Open issues
0Open PRs
2Releases
70Commits
1Contributors
70 commits · Last activity 2025-07-22

Releases over time

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

Repository practices

Upstream repositoryBeta

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

Checks run against github.com/danheck/mcmcprecision on 2026-08-23.

Continuous integration (1)
GitHub Actions
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
8 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.0.0
Imports (6)
RcppparallelutilsstatsMatrixcombinat
Suggests (2)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

People & History

People (1)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Package Timeline

6 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.4.2Latest
    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
    2019-12-05 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 0.3.9
    2018-08-10 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • 0.3.8
    2018-04-08 · diff ↗
  • 0.3.7
    2017-08-04 · diff ↗
  • R
    R 3.4.0 released · 2017-04-21
  • 0.3.6
    2017-04-03
Show 1 earlier events
  • 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
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("MCMCprecision")
Heck, D. W. (2025). MCMCprecision: Precision of Discrete Parameters in Transdimensional MCMC (Version 0.4.2) [Computer software]. https://doi.org/10.32614/CRAN.package.MCMCprecision

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

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-08-23. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-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