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.
This exercise is part of the course
Experimental Design in R
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Build nyc_scores_ls_lm
nyc_scores_ls_lm <- ___(___ ~ Tutoring_Program + Borough + Teacher_Education_Level,
data = ___ )
# Tidy the results with broom
___
# Examine the results with anova
___