Comparing Two Categorical Variables

Last season, the Bearcats went 5-1 in home games and 4-3 in away games. Is this convincing evidence that the Bearcats have a "Home Field Advantage?" Or could these home and away records plausibly happened by random chance for the 9-4 Bearcats? The applet below will conduct 100 simulated 9-4 season, and plot the test statistics (home winning percentage) - (away winning percentage). How often would we see a difference of 0.262 or greater in 100 simulated seasons? Click on the RESET button to begin!