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

momentfit  
Methods of Moments
Several classes for moment-based models are defined. The classes are defined for moment conditions d ...
Download / Learn more Package Citations See dependency  
didrooRFM  
Compute Recency Frequency Monetary Scores for your Customer Data
This hosts the findRFM function which generates RFM scores on a 1-5 point scale for customer transa ...
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  
factoextra  
Extract and Visualize the Results of Multivariate Data Analyses
Provides some easy-to-use functions to extract and visualize the output of multivariate data analys ...
Download / Learn more Package Citations See dependency  
prepdat  
Preparing Experimental Data for Statistical Analysis
Prepares data for statistical analysis (e.g., analysis of variance ;ANOVA) by enabling the user to ...
Download / Learn more Package Citations See dependency  
RobPer  
Robust Periodogram and Periodicity Detection Methods
Calculates periodograms based on (robustly) fitting periodic functions to light curves (irregularly ...
Download / Learn more Package Citations See dependency  

26,270

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