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.

Package details

AuthorNils Myszkowski [aut, cre] (<https://orcid.org/0000-0003-1322-0777>)
MaintainerNils Myszkowski <nilsmyszkowskiscience@gmail.com>
LicenseGPL-3
Version1.2.0
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("nhstplot")

Try the nhstplot package in your browser

Any scripts or data that you put into this service are public.

nhstplot documentation built on April 11, 2023, 5:54 p.m.