This is an R package used in our Introduction to Statistics (STAT 216) and Intermediate Statistical Concepts (STAT 217) courses at Montana State University. Currently, it is only available on GitHub.
This package contains interactive vignettes, code, and data sets to support STAT 216 and STAT 217 at Montana State University and is publicly available for others to use.
Our set of simulation-based inference (SBI) R functions mimic the output of online applets such as those found at www.rossmanchance.com/applets/, performing permutation/randomization tests and percentile bootstrapped confidence intervals:
| Parameter | Simulation-based Test | Bootstrap CI |
|- |- |- |
| Single proportion | one_proportion_test
| one_proportion_bootstrap_CI
|
| Difference in two proportions | two_proportion_test
| two_proportion_bootstrap_CI
|
| Paired mean difference | paired_test
| paired_bootstrap_CI
|
| Difference in two means | two_mean_test
| two_mean_bootstrap_CI
|
| Regression slope or correlation | regression_test
| regression_boostrap_CI
|
You must install the remotes
package first.
install.packages("remotes")
Then, use install_github
to install this package.
remotes::install_github("greenwood-stat/catstats")
STAT 216 and STAT 217 both use open source textbooks and resources hosted on Github:
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.