Interactive simulations to explore probability and statistics concepts, by Michael J. Culbertson
Probability Apps was inspired by a set of Java applets provided with the second edition of Agresti and Franklin's textbook Statistics: The Art and Scinece of Learning from Data. For a while, I incorporated the use of these applets into my introductory statistics course. But, the aging applets perpetually caused difficulty as new versions of Java were released and web security increased, overall. Instead of continuing to push through with the original applets, I decided to recreate the simulations with Shiny. If you find these apps useful or integrate them into your own course, I'd be delighted to hear about it.
Probability Apps can be accessed online via shinyapps.io at: https://mculbert.shinyapps.io/ProbApps
Probability Apps runs on R and requires the following R libraries:
install.packages(c('dplyr', 'shiny', 'ggplot2'))
Note that shiny
must be at least version 0.14.
You can launch Probability Apps locally in R directly from the GitHub repository with the command:
shiny::runGitHub("mculbert/ProbApps")
Alternatively, if you download the code, you can launch Probability Apps from R with:
setwd('/path/to/parent/directory')
shiny::runApp('ProbApps')
Probability Apps is free software released under the GNU Affero General Public License (AGPL). You are free to redistribute and modify Probability Apps, but you must make any modified code available to users according to the terms of the AGPL.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.