CommencerCommencer gratuitement

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.

Cet exercice fait partie du cours

Inference for Numerical Data in R

Afficher le cours

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.

Exercice interactif pratique

Essayez cet exercice en complétant cet exemple de code.

gss %>%
  # Group by class
  ___ %>%
  # Calculate the std dev of wordsum as std_dev_wordsum
  ____
Modifier et exécuter le code