Latin squares

Experimental Design in R

Joanne Xiong

Data Scientist

Latin squares

  • Two blocking factors (instead of one)
  • All factors must have the same number of levels
  • Key assumption: the treatment and two blocking factors do not interact
  • Analyze like a RCBD
Experimental Design in R

Latin square diagram

alt text

Experimental Design in R

Why is it a Latin square?

alt text

Experimental Design in R

Intro to NYC scores

  • nyc_scores is an NYC open dataset
    • Downloaded from Kaggle
  • Includes:
    • All accredited NYC high schools
    • SAT scores (Reading, Writing, and Math)
    • 2014-2015 school year
Experimental Design in R

Let's practice!

Experimental Design in R

Preparing Video For Download...