AE 05: Survey types
Application exercise
Getting started
Packages
We’ll use the tidyverse package for this analysis.
Data
The data are available in the data folder.
survey_raw <- read_excel("data/survey-2026-09-23.xlsx")Error:
! `path` does not exist: 'data/survey-2026-09-23.xlsx'
Prep
Clean the data such that it has two variables:
-
class_year: The class of the students with levelsFirst-year,Sophomore,Junior, andSenior, in that order. -
n_wed_classes: The number of classes each student has on Wednesdays, including STA 199MN.
Save the resulting data frame as survey.
Explore
Explore the relationship between class_year and n_wed_classes using a table and a plot. Describe the relationship or the lack thereof
