Other packages > Find by keyword >

phacking  

Sensitivity Analysis for p-Hacking in Meta-Analyses
View on CRAN: Click here


Download and install phacking package within the R console
Install from CRAN:
install.packages("phacking")

Install from Github:
library("remotes")
install_github("cran/phacking")

Install by package version:
library("remotes")
install_version("phacking", "0.2.1")



Attach the package and use:
library("phacking")
Maintained by
Peter Solymos
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2022-06-21
Latest Update: 2023-07-17
Description:
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." .]. 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).
How to cite:
Peter Solymos (2022). phacking: Sensitivity Analysis for p-Hacking in Meta-Analyses. R package version 0.2.1, https://cran.r-project.org/web/packages/phacking. Accessed 17 Jul. 2026.
Previous versions and publish date:
(2026-07-09 06:40), 0.0.1 (2022-06-21 11:40), 0.1.0 (2023-01-20 23:40)
Other packages that cited phacking R package
View phacking citation profile
Other R packages that phacking depends, imports, suggests or enhances
Complete documentation for phacking
Functions, R codes and Examples using the phacking R package
Some associated functions: money_priming_meta . phacking-package . phacking_meta . rtma_cdf . rtma_qqplot . z_density . 
Some associated R codes: data.R . diagnostics.R . metabias-names.R . models.R . phacking-package.R . stanmodels.R . theory.R . utils.R .  Full phacking package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

VEwaningVariant  
Vaccine Efficacy Over Time - Variant Aware
Implements methods for inference on potential waning of vaccine efficacy and for estimation of vacci ...
Download / Learn more Package Citations See dependency  
FastKNN  
Fast k-Nearest Neighbors
Compute labels for a test set according to the k-Nearest Neighbors classification. This is a fast wa ...
Download / Learn more Package Citations See dependency  
VFS  
Vegetated Filter Strip and Erosion Model
Empirical models for runoff, erosion, and phosphorus loss across a vegetated filter strip, given sl ...
Download / Learn more Package Citations See dependency  
alabama  
Constrained Nonlinear Optimization
Augmented Lagrangian Adaptive Barrier Minimization Algorithm for optimizing smooth nonlinear object ...
Download / Learn more Package Citations See dependency  
r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  
rt.test  
Robustified t-Test
Performs one-sample t-test based on robustified statistics using median/MAD (TA) and Hodges-Lehmann/ ...
Download / Learn more Package Citations See dependency  

27,806

R Packages

239,283

Dependencies

73,837

Author Associations

27,807

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA