1. Learn
  2. /
  3. Courses
  4. /
  5. Experimental Design in R

Exercise

Latin Square with NYC SAT Scores

To execute a Latin Square design on this data, suppose we want to know the effect of our tutoring program, which includes one-on-one tutoring, two small groups, and an in and after-school SAT prep class. A new dataset nyc_scores_ls is available that represents this experiment. Feel free to explore the dataset in the console.

We'll block by Borough and Teacher_Education_Level to reduce their known variance on the score outcome. Borough is a good blocking factor because schools in America are funded partly based on taxes paid in each city, so it will likely make a difference in the quality of education.

Instructions 1/2

undefined XP
    1
    2
  • Use lm() to test the changes in Average_Score_SAT_Math using nyc_scores_ls.
  • Tidy nyc_scores_ls_lm with the appropriate broom function.
  • Examine nyc_scores_ls_lm with anova().