Directions:

Question #1

A commonly referenced example of Simpson’s Paradox involves the batting averages of professional baseball players. In 1995, Derek Jeter got a hit at 12 of 48 at bats (0.250 batting average) while David Justice got a hit at 104 of 411 at bats (0.253 batting average). In 1996, Derek Jeter got a hit at 183 of 582 at bats (0.314 batting average), while David Justice got a hit at 45 of 140 at bats (0.321 batting average). Thus, David Justice had a higher batting average than Derek Jeter in both of these two seasons.

\(~\)

Question #2

The Indoor Obstacle Course Test (IOCT) is an obstacle course that all Cadets at West Point Academy are tested on and must successfully complete prior to graduation. The data set below records IOCT completion times for 384 graduates of the academy:

ioct = read.csv("https://data.scorenetwork.org/data/ioct_west_point.csv")

\(~\)

Question #3

For this question you’ll work with the “2023 Boston Marathon” data set found below:

marathon = read.csv("https://data.scorenetwork.org/data/boston_marathon_2023.csv")

This data set records information on each finisher of the 2023 Boston Marathon, with the variable finish_net_sec (finishing time in seconds) being the outcome of interest for this question.