Web Application Teaching Tools for Statistics Using R and Shiny


Authors: 
DOI, JIMMY; POTTER, GAIL; WONG, JIMMY; ALCARAZ, IRVIN; CHI, PETER
Year: 
2016
URL: 
http://escholarship.org/uc/item/00d4q8cp#
Abstract: 

Technology plays a critical role in supporting statistics education, and student comprehension is improved when simulations accompanied by dynamic visualizations are employed. Many web-based teaching tool applets programmed in Java/Javascript are publicly available (e.g., www.rossmanchance.com, www.socr.ucla.edu). These provide a user-friendly interface which is accessible and appealing to students in introductory statistics courses. However, not all statistics educators are fluent in Java/Javascript and may not be able to tailor these apps or develop their own. Shiny, a web application framework for R created by RStudio, facilitates applet development for educators who are familiar with R. We illustrate the utility, convenience, and versatility of Shiny through our collection of 17 freely available apps covering a range of topics and levels (found at www.statistics.calpoly.edu/shiny). Our Shiny source code is publicly available so that anyone may tailor our apps as desired. We provide feedback on how our apps have been used in statistics classes including some challenges that were encountered. We also discuss feasibility on building, launching, and deploying Shiny apps. A brief tutorial on installing and using Shiny is provided in the appendix. Some teaching materials based on our Shiny apps are also included in the appendix.

The CAUSE Research Group is supported in part by a member initiative grant from the American Statistical Association’s Section on Statistics and Data Science Education

register