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 07 Mar. 2026.
Previous versions and publish date:
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

lmSubsets  
Exact Variable-Subset Selection in Linear Regression
Exact and approximation algorithms for variable-subset selection in ordinary linear regression mode ...
Download / Learn more Package Citations See dependency  
testDriveR  
Teaching Data for Statistics and Data Science
Provides data sets for teaching statistics and data science courses. It includes a sample of data f ...
Download / Learn more Package Citations See dependency  
nextGenShinyApps  
Craft Exceptional 'R Shiny' Applications and Dashboards with Novel Responsive Tools
Nove responsive tools for designing and developing 'Shiny' dashboards and applications. The scripts ...
Download / Learn more Package Citations See dependency  
portalr  
Create Useful Summaries of the Portal Data
Download and generate summaries for the rodent, plant, ant, and weather data from the Portal Projec ...
Download / Learn more Package Citations See dependency  
SAMtool  
Stock Assessment Methods Toolkit
Simulation tools for closed-loop simulation are provided for the 'MSEtool' operating model to inform ...
Download / Learn more Package Citations See dependency  
ReviewR  
A Light-Weight, Portable Tool for Reviewing Individual Patient Records
A portable Shiny tool to explore patient-level electronic health record data and perform chart revi ...
Download / Learn more Package Citations See dependency  

26,264

R Packages

223,360

Dependencies

70,376

Author Associations

26,265

Publication Badges

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