Checking the constant variance condition
In addition to checking the normality of distributions of vocabulary scores across levels of social class, we need to check that the variances from each are roughly constant.
This exercise is part of the course
Inference for Numerical Data in R
Exercise instructions
- Group by social class.
- Summarize to calculate the standard deviations of vocabulary scores, storing in a column named
std_dev_wordsum
. - Verify the constant variance condition.
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
gss %>%
# Group by class
___ %>%
# Calculate the std dev of wordsum as std_dev_wordsum
____