Tables 1 and 2 show cross-classifications of the number of home runs hit and the game result, along with column percentages, for McGwire and Sosa, respectively. St. Louis' tie is omitted, and games with two or three home runs hit are combined into one category. As might be expected, for McGwire the two variables are related, with the Cardinals being more successful when McGwire hits more home runs. A more correct version of these tests would omit games where McGwire or Sosa did not play. If this is done, the observed associations between the variables strengthen slightly.
More complicated analyses are also possible.
Many other uses of the data are possible, depending on the level and coverage of the class. This is a logistic regression problem. The curves show that McGwire started off hitting home runs at a much higher rate than Sosa, with the rate increasing slowly until peaking near the end of May. Sosa's rate increased rapidly from the start of the season, passing McGwire's at the end of May and peaking in mid-June. Both players slowed down until late July, when their home run rates both began to increase again. Sosa's rate remained higher than McGwire's until September, when it leveled off and then dropped.