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]
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 29 Apr. 2025.
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
03/3003/3104/0104/0204/0304/0404/0504/0604/0704/0804/0904/1004/1104/1204/1304/1404/1504/1604/1704/1804/1904/2004/2104/2204/2304/2404/2504/2604/2704/28Downloads for phacking024681012141618202224TrendBars

Today's Hot Picks in Authors and Packages

bigGP  
Distributed Gaussian Process Calculations
Distributes Gaussian process calculations across nodes in a distributed memory setting, using Rmpi. ...
Download / Learn more Package Citations See dependency  
phecodemap  
Visualization for PheCode Mapping with ICD-9 and ICD-10-CM Codes
To build a shiny app for visualization of the hierarchy of PheCode Mapping with International Classi ...
Download / Learn more Package Citations See dependency  
PCAmatchR  
Match Cases to Controls Based on Genotype Principal Components
Matches cases to controls based on genotype principal components (PC). In order to produce better r ...
Download / Learn more Package Citations See dependency  
knockoff  
The Knockoff Filter for Controlled Variable Selection
The knockoff filter is a general procedure for controlling the false discovery rate (FDR) when perf ...
Download / Learn more Package Citations See dependency  
quickcode  
Quick and Essential 'R' Tricks for Better Scripts
The NOT functions, 'R' tricks and a compilation of some simple quick plus often used 'R' codes to im ...
Download / Learn more Package Citations See dependency  
NBBDesigns  
Neighbour Balanced Block Designs (NBBDesigns)
Neighbour-balanced designs ensure that no treatment is disadvantaged unfairly by its surroundings. T ...
Download / Learn more Package Citations See dependency  

24,142

R Packages

207,311

Dependencies

65,176

Author Associations

24,143

Publication Badges

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