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.5-any)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'))

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

On CRAN:

Conda:

5.47 score 5 stars 1 packages 39 scripts 221 downloads 6 exports 0 dependencies

Last updated 1 years agofrom:ad3ea5592f. Checks:9 OK. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKApr 01 2025
R-4.5-winOKApr 01 2025
R-4.5-macOKApr 01 2025
R-4.5-linuxOKApr 01 2025
R-4.4-winOKApr 01 2025
R-4.4-macOKApr 01 2025
R-4.4-linuxOKApr 01 2025
R-4.3-winOKApr 01 2025
R-4.3-macOKApr 01 2025

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 Apr 01 2025.

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