Package: phacking 0.2.1
phacking: Sensitivity Analysis for p-Hacking in Meta-Analyses
Fits right-truncated meta-analysis (RTMA), a bias correction for the joint effects of p-hacking (i.e., manipulation of results within studies to obtain significant, positive estimates) and traditional publication bias (i.e., the selective publication of studies with significant, positive results) in meta-analyses [see Mathur MB (2022). "Sensitivity analysis for p-hacking in meta-analyses." <doi:10.31219/osf.io/ezjsx>.]. Unlike publication bias alone, p-hacking that favors significant, positive results (termed "affirmative") can distort the distribution of affirmative results. To bias-correct results from affirmative studies would require strong assumptions on the exact nature of p-hacking. In contrast, joint p-hacking and publication bias do not distort the distribution of published nonaffirmative results when there is stringent p-hacking (e.g., investigators who hack always eventually obtain an affirmative result) or when there is stringent publication bias (e.g., nonaffirmative results from hacked studies are never published). This means that any published nonaffirmative results are from unhacked studies. Under these assumptions, RTMA involves analyzing only the published nonaffirmative results to essentially impute the full underlying distribution of all results prior to selection due to p-hacking and/or publication bias. The package also provides diagnostic plots described in Mathur (2022).
Authors:
phacking_0.2.1.tar.gz
phacking_0.2.1.zip(r-4.5)phacking_0.2.1.zip(r-4.4)phacking_0.2.1.zip(r-4.3)
phacking_0.2.1.tgz(r-4.4-x86_64)phacking_0.2.1.tgz(r-4.4-arm64)phacking_0.2.1.tgz(r-4.3-x86_64)phacking_0.2.1.tgz(r-4.3-arm64)
phacking_0.2.1.tar.gz(r-4.5-noble)phacking_0.2.1.tar.gz(r-4.4-noble)
phacking.pdf |phacking.html✨
phacking/json (API)
NEWS
# Install 'phacking' in R: |
install.packages('phacking', repos = c('https://mathurlabstanford.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/mathurlabstanford/phacking/issues
- money_priming_meta - Meta-analysis of money priming studies
Last updated 1 years agofrom:c5cc0ed243. Checks:OK: 2 NOTE: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Oct 26 2024 |
R-4.5-win-x86_64 | NOTE | Oct 26 2024 |
R-4.5-linux-x86_64 | OK | Oct 26 2024 |
R-4.4-win-x86_64 | NOTE | Oct 26 2024 |
R-4.4-mac-x86_64 | NOTE | Oct 26 2024 |
R-4.4-mac-aarch64 | NOTE | Oct 26 2024 |
R-4.3-win-x86_64 | NOTE | Oct 26 2024 |
R-4.3-mac-x86_64 | NOTE | Oct 26 2024 |
R-4.3-mac-aarch64 | NOTE | Oct 26 2024 |
Exports:phacking_metartma_cdfrtma_qqplotz_density
Dependencies:abindbackportsBHcallrcheckmateclicolorspacedescdistributionaldplyrfansifarvergenericsggplot2gluegridExtragtableinlineisobandlabelinglatticelifecycleloomagrittrMASSmathjaxrMatrixmatrixStatsmetabiasmetadatmetaformgcvmunsellnlmenumDerivpbapplypillarpkgbuildpkgconfigposteriorprocessxpspurrrQuickJSRR6rbibutilsRColorBrewerRcppRcppEigenRcppParallelRdpackrlangrstanrstantoolsscalesStanHeaderstensorAtibbletidyselecttruncnormutf8vctrsviridisLitewithr
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Meta-analysis of money priming studies | money_priming_meta |
Right-truncated meta-analysis | phacking_meta |
Compute theoretical and empirical CDFs for a right-truncated meta-analysis | rtma_cdf |
Diagnostic quantile-quantile plot for a right-truncated meta-analysis | rtma_qqplot |
Z-score density plot | z_density |