Package: phack 0.1.0
phack: Detecting p-Hacking using Elliot et al. (2022)
Implements the tests from Elliot et al. (2022) for detecting p-Hacking. The package is essentially a simple wrapper to the code provided in the code and data supplement of the article, with some cosmetical changes. The original code can be found in the code and data supplement of the article. s References Elliott, G., Kudrin, N., & Wüthrich, K. (2022). Detecting p‐Hacking. Econometrica, 90(2), 887-906.
Authors:
phack_0.1.0.tar.gz
phack_0.1.0.zip(r-4.5)phack_0.1.0.zip(r-4.4)phack_0.1.0.zip(r-4.3)
phack_0.1.0.tgz(r-4.4-any)phack_0.1.0.tgz(r-4.3-any)
phack_0.1.0.tar.gz(r-4.5-noble)phack_0.1.0.tar.gz(r-4.4-noble)
phack_0.1.0.tgz(r-4.4-emscripten)phack_0.1.0.tgz(r-4.3-emscripten)
phack.pdf |phack.html✨
phack/json (API)
# Install 'phack' in R: |
install.packages('phack', repos = c('https://skranz.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/skranz/phack/issues
Last updated 2 years agofrom:0a5f40587e (on main). Checks:OK: 1 WARNING: 6. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Dec 04 2024 |
R-4.5-win | WARNING | Dec 04 2024 |
R-4.5-linux | WARNING | Dec 04 2024 |
R-4.4-win | WARNING | Dec 04 2024 |
R-4.4-mac | WARNING | Dec 04 2024 |
R-4.3-win | WARNING | Dec 04 2024 |
R-4.3-mac | WARNING | Dec 04 2024 |
Exports:Bound0Bound1Bound2CoxShicv2get.phack.F_LCMsuplambda2phack_test_binomialphack_test_cox_shiphack_test_discontinuityphack_test_fisherphack_test_lcmSimBBwarn_p_rounding
Dependencies:abindclicolorspacedeldirfansifarverfdrtoolgdataggplot2gluegoftestgtablegtoolsisobandlabelinglatticelifecyclelpdensitymagrittrMASSMatrixmgcvmunsellNlcOptimnlmepillarpkgconfigpolyclippracmaquadprogR6RColorBrewerrddensityrlangrpartscalesspatstatspatstat.dataspatstat.explorespatstat.geomspatstat.linnetspatstat.modelspatstat.randomspatstat.sparsespatstat.univarspatstat.utilstensortibbleutf8vctrsviridisLitewithr
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Binomial test for p-hacking | phack_test_binomial |
Cox-Shi histogram test and more general test for K-monotonicity and bounds on [p_min, p_max] interval | phack_test_cox_shi |
Discontinuity test | phack_test_discontinuity |
Fisher's test | phack_test_fisher |
LCM test on [p_min, p_max] | phack_test_lcm |
Simulate Brownian Bridge (BB) and ||LCM(BB)-BB|| | SimBB |