pvaluefunctions: Creates and Plots P-Value Functions, S-Value Functions,
Confidence Distributions and Confidence Densities
Contains functions to compute and plot confidence distributions, confidence densities, p-value functions and s-value (surprisal) functions for several commonly used estimates. Instead of just calculating one p-value and one confidence interval, p-value functions display p-values and confidence intervals for many levels thereby allowing to gauge the compatibility of several parameter values with the data. These methods are discussed by Infanger D, Schmidt-Trucksäss A. (2019) <doi:10.1002/sim.8293>; Poole C. (1987) <doi:10.2105/AJPH.77.2.195>; Schweder T, Hjort NL. (2002) <doi:10.1111/1467-9469.00285>; Bender R, Berg G, Zeeb H. (2005) <doi:10.1002/bimj.200410104> ; Singh K, Xie M, Strawderman WE. (2007) <doi:10.1214/074921707000000102>; Rothman KJ, Greenland S, Lash TL. (2008, ISBN:9781451190052); Amrhein V, Trafimow D, Greenland S. (2019) <doi:10.1080/00031305.2018.1543137>; Greenland S. (2019) <doi:10.1080/00031305.2018.1529625> and Rafi Z, Greenland S. (2020) <doi:10.1186/s12874-020-01105-9>.
| Version: |
1.7.0 |
| Depends: |
R (≥ 3.5.0) |
| Imports: |
cli (≥ 3.0.0), ggplot2 (≥ 3.5.0), scales (≥ 1.3.0), zipfR (≥ 0.6-70), pracma (≥ 2.3.3), gsl (≥ 2.1-7.1), rlang (≥
1.0.0), grDevices, stats, utils |
| Suggests: |
knitr, rmarkdown, devtools, testthat (≥ 3.0.0) |
| Published: |
2026-10-02 |
| DOI: |
10.32614/CRAN.package.pvaluefunctions |
| Author: |
Denis Infanger
[aut, cre] |
| Maintainer: |
Denis Infanger <denis.infanger at unibas.ch> |
| BugReports: |
https://github.com/DInfanger/pvaluefunctions/issues |
| License: |
GPL-3 |
| URL: |
https://github.com/DInfanger/pvaluefunctions |
| NeedsCompilation: |
no |
| Language: |
en-US |
| Materials: |
README, NEWS |
| CRAN checks: |
pvaluefunctions results |
Documentation:
Downloads:
Linking:
Please use the canonical form
https://CRAN.R-project.org/package=pvaluefunctions
to link to this page.