STAT 220 labs
In Spring 2020 and Fall 2020, I embarked on an “experiment” of sorts to compare the formula and tidyverse syntaxes for teaching introductory statistics.
Prior to this experiment, I had taught a full-semester introductory statistics course soley using formula syntax, as well as a full-semester course in tidyverse syntax. Both semesters were at my previous institution (Smith College). However, I had never compared the two syntaxes head to head. This made it difficult to compare, because groups of students vary so much semester to semester. In addition, when I wrote the instructional materials for a tidy semester (for example) I would be implicitly thinking of tasks that would be easy to do in tidy syntax.
At St Thomas, the STAT 220 are written to be software-agnostic (they are used across all the STAT 220 labs, including labs taught in Excel, Minitab, JMP, and SPSS), which allowed me to produce materials without being influenced as much by the tasks that would easy in a particular syntax. I developed pre-labs for each of the 11 labs in each of the two syntaxes.
The pre-labs are written and provided to students in RMarkdown format, and walk students through the code necessary to accomplish the tasks in the real lab for the week. Some code is provided in the document, but there are also blank code chunks and questions throughout the pre-lab. The pre-labs for the two syntaxes are typically similar in text content, but different in the code they display, although differences in the syntax mean that they occasionally deviate.
When I teach in person, I guide students through th pre-lab material live, stopping periodically to give them time to work on questions. So, for the first several weeks of this experiment I was able to do this sort of live teaching. When the pandemic forced courses online mid-Spring 2020, I began providing the pre-lab material as YouTube videos students could watch asynchronously. In the Fall 2020 semester, each pre-lab has been provided as a YouTube video. During synchronous classtime, I help students get started on the real lab, and stay on Zoom to answer questions from students as they arise.
formula syntax
I provide students with a cheatsheet entitled All the R you need for intro stat, which gives them an overview of the most important code for the semester. Each week, I post RMarkdown documents on Canvas (also hosted on GitHub for sharing), and accompanying videos on the YouTube playlist for the class.
Describing data. RMarkdown, YouTube video
Categorical variables. RMarkdown, YouTube video 1, video 2
Quantitative variables. RMarkdown, YouTube video 1, video 2
Correlation and regression. RMarkdown, YouTube video
Bootstrap intervals. RMarkdown, YouTube video 1, video 2
Randomization tests. RMarkdown, YouTube video
Inference for a single sample. RMarkdown, YouTube video 1, video 2, video 3
Inference for two samples. RMarkdown, YouTube video 1, video 2
ANOVA. RMarkdown, YouTube video 1, video 2
Chi-square. RMarkdown YouTube video
Inference for Regression. RMarkdown YouTube video 1, video 2, video 3
tidy syntax
I provide students with a cheatsheet entitled All the R you need for intro stat which gives them an overview of the most important code for the semester. Each week, I post RMarkdown documents on Canvas (also hosted on GitHub for sharing), and accompanying videos on the YouTube playlist for the class.
Describing data. RMarkdown, YouTube video
Categorical variables. RMarkdown, YouTube video 1, video 2
Quantitative variables. RMarkdown, YouTube video 1, video 2
Correlation and regression. RMarkdown, YouTube video
Bootstrap intervals. RMarkdown, YouTube video 1, video 2
Randomization tests. RMarkdown, YouTube video
Inference for a single proportion. RMarkdown, YouTube video
Inference for a single mean. RMarkdown, YouTube video
Inference for two samples. RMarkdown, YouTube video 1, video 2
ANOVA. RMarkdown, YouTube video 1, video 2
Chi-square. RMarkdown YouTube video
Inference for Regression. RMarkdown YouTube video 1, video 2, video 3