Code from: Calibrating P-values in ecology: A practical framework for integrating prior plausibility into statistical inference
收藏DataCite Commons2026-04-08 更新2026-04-25 收录
下载链接:
https://datadryad.org/dataset/doi:10.5061/dryad.t76hdr8g0
下载链接
链接失效反馈官方服务:
资源简介:
This repository contains R code implementing the p‑value calibration
method presented in the associated article. The core function,
min_posterior, takes a p‑value and the prior probability of the
alternative hypothesis and returns the minimum posterior probability of
the null hypothesis, using a Bayes factor calibration based on Sellke et
al. (2001). The code includes input checks, example calls for different
prior plausibilities, and a short script to visualize how the minimum
posterior probability of the null changes as a function of the p‑value for
a given prior. This resource is intended as a practical implementation of
the theoretical framework in the paper, allowing ecologists to translate
conventional p‑values into calibrated measures of evidence that explicitly
incorporate prior plausibility.
提供机构:
Dryad
创建时间:
2026-04-08



