9814

Batting Averages, Weighted Averages, and Simpson's Paradox

Simpson's paradox refers to the reversal of the direction of an association when a categorical variable is ignored. Although Simpson's paradox can and does occur in such important contexts as death penalty rates and gender equity cases, it is illustrated here in the familiar setting of baseball. It is possible for two baseball players to have a season in which player 1 has a higher batting average than player 2 in the first half of the season and also in the second half of the season, yet player 2 has a higher batting average than player 1 for the entire season. Such a possibility exists because a player's overall batting average for the season is a weighted average of his two half-season averages, weighted by the proportion of at-bats (AB) in each half of the season.
  • Contributed by: Marc Brodie (Wheeling Jesuit University)

THINGS TO TRY

SNAPSHOTS

  • [Snapshot]
  • [Snapshot]
  • [Snapshot]

DETAILS

The operation defined by = is used to combine the fractions that give a player's half-season batting averages to obtain the overall average. For example, in the thumbnail, player 1's overall average is obtained from the half-season averages by . This operation, in fact, gives a weighted average of the two half-season averages: = .
    • Share:

Embed Interactive Demonstration New!

Just copy and paste this snippet of JavaScript code into your website or blog to put the live Demonstration on your site. More details »

Files require Wolfram CDF Player or Mathematica.









 
RELATED RESOURCES
Mathematica »
The #1 tool for creating Demonstrations
and anything technical.
Wolfram|Alpha »
Explore anything with the first
computational knowledge engine.
MathWorld »
The web's most extensive
mathematics resource.
Course Assistant Apps »
An app for every course—
right in the palm of your hand.
Wolfram Blog »
Read our views on math,
science, and technology.
Computable Document Format »
The format that makes Demonstrations
(and any information) easy to share and
interact with.
STEM Initiative »
Programs & resources for
educators, schools & students.
Computerbasedmath.org »
Join the initiative for modernizing
math education.
Step-by-step Solutions »
Walk through homework problems one step at a time, with hints to help along the way.
Wolfram Problem Generator »
Unlimited random practice problems and answers with built-in Step-by-step solutions. Practice online or make a printable study sheet.
Wolfram Language »
Knowledge-based programming for everyone.
Powered by Wolfram Mathematica © 2014 Wolfram Demonstrations Project & Contributors  |  Terms of Use  |  Privacy Policy  |  RSS Give us your feedback
Note: To run this Demonstration you need Mathematica 7+ or the free Mathematica Player 7EX
Download or upgrade to Mathematica Player 7EX
I already have Mathematica Player or Mathematica 7+