nhstplot: Plot Null Hypothesis Significance Tests

Illustrate graphically the most common Null Hypothesis Significance Testing procedures. More specifically, this package provides functions to plot Chi-Squared, F, t (one- and two-tailed) and z (one- and two-tailed) tests, by plotting the probability density under the null hypothesis as a function of the different test statistic values. Although highly flexible (color theme, fonts, etc.), only the minimal number of arguments (observed test statistic, degrees of freedom) are necessary for a clear and useful graph to be plotted, with the observed test statistic and the p value, as well as their corresponding value labels. The axes are automatically scaled to present the relevant part and the overall shape of the probability density function. This package is especially intended for education purposes, as it provides a helpful support to help explain the Null Hypothesis Significance Testing process, its use and/or shortcomings.

Version: 1.3.0
Depends: R (≥ 3.5.0)
Imports: ggplot2 (≥ 3.5.0), stats (≥ 3.5.0), grDevices (≥ 3.5.0)
Suggests: knitr, rmarkdown
Published: 2024-03-01
Author: Nils Myszkowski ORCID iD [aut, cre]
Maintainer: Nils Myszkowski <nilsmyszkowskiscience at gmail.com>
License: GPL-3
NeedsCompilation: no
Materials: README NEWS
CRAN checks: nhstplot results

Documentation:

Reference manual: nhstplot.pdf
Vignettes: Using 'nhstplot'

Downloads:

Package source: nhstplot_1.3.0.tar.gz
Windows binaries: r-devel: nhstplot_1.3.0.zip, r-release: nhstplot_1.3.0.zip, r-oldrel: nhstplot_1.3.0.zip
macOS binaries: r-release (arm64): nhstplot_1.3.0.tgz, r-oldrel (arm64): nhstplot_1.3.0.tgz, r-release (x86_64): nhstplot_1.3.0.tgz
Old sources: nhstplot archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=nhstplot to link to this page.