Package: retrodesign 0.2.2

retrodesign: Tools for Type S (Sign) and Type M (Magnitude) Errors

Provides tools for working with Type S (Sign) and Type M (Magnitude) errors, as proposed in Gelman and Tuerlinckx (2000) <doi:10.1007/s001800000040> and Gelman & Carlin (2014) <doi:10.1177/1745691614551642>. In addition to simply calculating the probability of Type S/M error, the package includes functions for calculating these errors across a variety of effect sizes for comparison, and recommended sample size given "tolerances" for Type S/M errors. To improve the speed of these calculations, closed forms solutions for the probability of a Type S/M error from Lu, Qiu, and Deng (2018) <doi:10.1111/bmsp.12132> are implemented. As of 1.0.0, this includes support only for simple research designs. See the package vignette for a fuller exposition on how Type S/M errors arise in research, and how to analyze them using the type of design analysis proposed in the above papers.

Authors:Andrew Timm [cre, aut], Andrew Gelman [ctb, cph], John Carlin [ctb, cph], Martijn Weterings [ctb]

retrodesign_0.2.2.tar.gz
retrodesign_0.2.2.zip(r-4.5)retrodesign_0.2.2.zip(r-4.4)retrodesign_0.2.2.zip(r-4.3)
retrodesign_0.2.2.tgz(r-4.4-any)retrodesign_0.2.2.tgz(r-4.3-any)
retrodesign_0.2.2.tar.gz(r-4.5-noble)retrodesign_0.2.2.tar.gz(r-4.4-noble)
retrodesign_0.2.2.tgz(r-4.4-emscripten)retrodesign_0.2.2.tgz(r-4.3-emscripten)
retrodesign.pdf |retrodesign.html
retrodesign/json (API)
NEWS

# Install 'retrodesign' in R:
install.packages('retrodesign', repos = c('https://andytimm.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/andytimm/retrodesign/issues

On CRAN:

6 exports 5 stars 1.40 score 0 dependencies 37 scripts 199 downloads

Last updated 6 months agofrom:ad3ea5592f. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKAug 25 2024
R-4.5-winOKAug 25 2024
R-4.5-linuxOKAug 25 2024
R-4.4-winOKAug 25 2024
R-4.4-macOKAug 25 2024
R-4.3-winOKAug 25 2024
R-4.3-macOKAug 25 2024

Exports:retro_designretro_design_closed_formretrodesignsim_plottype_mtype_s

Dependencies:

An Introduction to Type S and M errors in Hypothesis Testing

Rendered fromIntro_To_retrodesign.Rmdusingknitr::rmarkdownon Aug 25 2024.

Last update: 2023-10-23
Started: 2019-01-25