Teaching Statistics with R and RStudio
Time: 10am – noon, Thursday and Saturday
Location: Metropolitan A, 3rd Floor, Sheraton Seattle Hotel
Description: R is a freely available language and environment for statistical computing and graphics that has become popular in academia and in many industries. But can it be used with students? This mini-course will introduce participants to teaching applied statistics courses using computing in an integrated way.
The presenter has been using R to teach statistics to undergraduates at all levels for the last decade and will share an approach and some favorite examples. Topics will include workflow in the RStudio environment, providing novices with a powerful but manageable set of tools, data visualization, basic statistical inference using R, and resampling. Much of this will be facilitated using the mosaic package.
The minicourse is designed to be accessible to those with little or no experience teaching with R, and will provide participants with skills, examples, and resources that they can use in their own teaching. Participants should bring a laptop to the session.
The minicourse is designed to be accessible to those with little or no experience teaching with R, and will provide participants with skills, examples, and resources that they can use in their own teaching.
Things you should do before JMM
1) Take a little pre-minicourse survey at http://goo.gl/forms/sksI2dHkMu.
2) Be sure to include the requested introduction (part of the survey above). It needn’t be long — who your are, where you are from, why you are interested in the minicourse, and any other tidbits you care to share should do it. I’ll probably figure out some way to post the introductions so you can see who will be joining you at the workshop without having the introductions clutter up everyone’s inbox. Stay tuned on that one.
3) Make sure you pack your laptop. The minicourse is much more fun if you can play along on your own machine. I’ll give you all access to an RStudio server, so there is no need to install any software — all you need is a browser other than Internet Explorer. (But see below if you want to install R and RStudio on your laptop.)
4) Enjoy the holidays.
Optional things you can do in advance of the Minicourse
1) Install or update R on your laptop. (available at https://cran.r-project.org/)
2) Install or update RStudio on your laptop (available at https://www.rstudio.com/products/rstudio/download/)
3) Install the mosaic package and its dependencies on your laptop. (In RStudio, click on the Packages tab, then on Install, then type mosaic in the entry area and R should do its thing.)
RStudio Server: We have set up an RStudio Server with accounts for each workshop participant. This allows users to use R in any web browser. Think of it as Facebook for statistics. You can set up your own RStudio server pretty easily. Check out this blog about RStudio in the Cloud for Dummies.
mosaic package: We use the mosaic package extensively to simplify R for students while still providing a powerful set of tools. The package is freely available on CRAN, the Comprehensive R Archive network. If you have installed R on your own machine, please upgrade the mosaic package to version 0.13 or later prior to the mini-course.
- The mosaic Package: Helping Student to Think with Data Using R (submitted to R Journal)
Vignettes: Each participant will receive a printed copy of:
You may also be interested in
These and some additional “Little Books” are available at github.com/ProjectMOSAIC/LittleBooks
Feedback: We have set up a google doc where you can ask questions or provide feedback on the workshop.
Teaching Intro Statistics: R Pruim and L Park have put together drafts of companion volumes for two Intro Stats books that use resampling. Each shows how to use the mosaic package to create all the figures and analyses in the associated book.
- Lock 5 — Statistics: Unlocking the Power of Data
- Tintle, et al — Introduction to Statistical Investigation
- Moore/McCabe — Introduction to the Practice of Statistics
We have also created R packages to accompany each book. These packages contain all of the data sets in R-friendly format.
Handouts, Quizzes, etc.
The Simulation-Based Inference (SBI) Blog
This blog has many posts related to aspects of teaching simulation-based inference. Among them, you might like
- What Teacher’s Should Know About the Bootstrap by Tim Hesterberg
- How to Teach SBI using R by Randall Pruim
Nick Horton’s R Resources Page