retrodesign
Tools for working with Type S (sign) and Type M (magnitude) errors in R
Science Score: 23.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
○codemeta.json file
-
○.zenodo.json file
-
✓DOI references
Found 1 DOI reference(s) in README -
✓Academic publication links
Links to: arxiv.org, wiley.com -
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (11.7%) to scientific vocabulary
Repository
Tools for working with Type S (sign) and Type M (magnitude) errors in R
Basic Info
Statistics
- Stars: 6
- Watchers: 1
- Forks: 2
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
retrodesign
Tools for calculating and working with Gelman et al's Type S (sign), and M (magnitude or exaggeration ratio) errors for analyzing hypothesis tests in R.
Features:
Functions for calculating Power and Type S/M errors across variety of effect sizes, building on code provided in Gelman and Carlin (2014, see below).
Graphics function for visualizing these errors with or without ggplot
Implementation of Lu et al's (2018, see below) closed form solution for Type M error, providing a speed-up.
Usage
You can install retrodesign with:
install.packages("retrodesign")
You can find an online version of retrodesign's vignette on my website, which provides an introduction to both retrodesign and Type S/M errors.
More Reading on Type S/M Errors
- Gelman and Tuerlinckx's Type S error rates for classical and Bayesian single and multiple comparisons procedures (2000): A comparison of the properties of Type S errors of frequentist and Bayesian confidence statements. Useful for how this all plays out in a Bayesian context. Bayesian confidence statements have the desirable property of being more conservative than frequentist ones.
- Gelman and Carlin's Assessing Type S and Type M Errors (2014): Gelman and Carlin compare their suggested design analysis, as we've written about above, to more traditional design analysis, through several examples, and discuss the desirable properties it has in more depth than I do here. It is also the source of the original retrodesign() function, which I re-use in the package with permission.
- Lu et al's A note on Type S/M errors in hypothesis testing
(2018): Lu and coauthors go further into the mathematical properties of Type S/M errors, and prove the closed form solutions implemented in
retrodesign. - McShane et al's Abandon Statistical Significance (2017): If you want a starting point on the challenges with NHST that have led many statisticians to argue for abandoning NHST all together, and starting points for alternative ways of doing science.
Owner
- Name: Andrew Timm
- Login: andytimm
- Kind: user
- Location: New York, NY
- Website: andytimm.github.io/
- Repositories: 3
- Profile: https://github.com/andytimm
DS Manager at @605data, working on causal inference and forecasting. Former campaign field/data staff.
GitHub Events
Total
- Watch event: 1
Last Year
- Watch event: 1
Committers
Last synced: over 3 years ago
All Time
- Total Commits: 45
- Total Committers: 1
- Avg Commits per committer: 45.0
- Development Distribution Score (DDS): 0.0
Top Committers
| Name | Commits | |
|---|---|---|
| Andrew Timm | t****1@g****m | 45 |
Issues and Pull Requests
Last synced: 11 months ago
All Time
- Total issues: 6
- Total pull requests: 1
- Average time to close issues: 10 months
- Average time to close pull requests: 7 minutes
- Total issue authors: 3
- Total pull request authors: 1
- Average comments per issue: 0.83
- Average comments per pull request: 1.0
- Merged pull requests: 1
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- andytimm (4)
- KarlWolters92 (1)
- martijnweterings (1)
Pull Request Authors
- andytimm (1)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- cran 286 last-month
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 4
- Total maintainers: 1
cran.r-project.org: retrodesign
Tools for Type S (Sign) and Type M (Magnitude) Errors
- Homepage: https://github.com/andytimm/retrodesign
- Documentation: http://cran.r-project.org/web/packages/retrodesign/retrodesign.pdf
- License: MIT + file LICENSE
-
Latest release: 0.2.2
published over 2 years ago
Rankings
Maintainers (1)
Dependencies
- R >= 3.1.0 depends
- graphics * imports
- ggplot2 * suggests
- gridExtra * suggests
- knitr * suggests
- rmarkdown * suggests
- testthat * suggests