Graeco-Latin Square with NYC SAT Scores
Recall that our Latin Square exercise in this chapter tested the effect of our tutoring program, blocked by Borough
and Teacher_Education_Level
.
For our Graeco-Latin Square, say we also want to block out the known effect of Homework_Type
, which indicates what kind of homework the student was given: individual only, small or large group homework, or some combination. We can add this as another blocking factor to create a Graeco-Latin Square experiment.
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_gls_lm
nyc_scores_gls_lm <- ___(___ ~ Tutoring_Program + Borough + Teacher_Education_Level + Homework_Type,
data = ___ )
# Tidy the results with broom
___
# Examine the results with anova
___