Skip to content
/ phacking Public

❗ This is a read-only mirror of the CRAN R package repository. phacking — Sensitivity Analysis for p-Hacking in Meta-Analyses. Homepage: https://github.com/mathurlabstanford/phackinghttps://mathurlabstanford.github.io/phacking/ Report bugs for this package: https://github.com/mathurlabstanford/phacking/ ...

License

Notifications You must be signed in to change notification settings

cran/phacking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

phacking

R-CMD-check

phacking is an R package that provides 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 (per Mathur, 2022).

Installation

You can install phacking from CRAN with:

install.packages("phacking")

You can install the development version of phacking from GitHub with:

# install.packages("devtools")
devtools::install_github("mathurlabstanford/phacking")

You may also need to install Stan.

Example

Fit a bias-corrected meta-analysis of an example dataset from the package.

library(phacking)
phacking_meta(money_priming_meta$yi, money_priming_meta$vi)

About

❗ This is a read-only mirror of the CRAN R package repository. phacking — Sensitivity Analysis for p-Hacking in Meta-Analyses. Homepage: https://github.com/mathurlabstanford/phackinghttps://mathurlabstanford.github.io/phacking/ Report bugs for this package: https://github.com/mathurlabstanford/phacking/ ...

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •