Directions:

Question #1

In this question you will work with the “TSA claims” data set that you’ve encountered in several of our in-class labs. In the first portion of the analysis you will create a subset from the full sample that will continue using throughout the remainder of this question.

tsa_data = read.csv("https://remiller1450.github.io/data/tsa_small.csv")

\(~\)

Question #2

Researchers at Harvard Medical School conducted an experiment where infants born with congenital heart defects were randomly assigned to receive one of two different open-heart surgeries, low-flow bypass or circulatory arrest. Two years after the surgery the researchers followed up on each infant and assessed their development, measured by their MDI (mental development index) and PDI (psychomotor development index) scores. The data from this experiment are loaded into R by the code provided below:

ih_data = read.csv("https://remiller1450.github.io/data/InfantHeart.csv")