Definitions

# ww simpson

Simpson's paradox (or the Yule-Simpson effect) is a statistical paradox wherein the successes of groups seem reversed when the groups are combined. This result is often encountered in social and medical science statistics, and occurs when frequency data are hastily given causal interpretation; the paradox disappears when causal relations are derived systematically, through formal analysis.

Though mostly unknown to laymen, Simpson's Paradox is well known to statisticians, and is described in several introductory statistics books. Many statisticians believe that the mainstream public should be apprised of counterintuitive results such as Simpson's paradox, in particular to caution against the inference of causal relationships based on the association between two variables.

Edward H. Simpson described the phenomenon in 1951, along with Karl Pearson et al., and Udny Yule in 1903. The name Simpson's paradox was coined by Colin R. Blyth in 1972. Since Simpson did not discover this statistical paradox, some authors, instead, have used the impersonal names reversal paradox and amalgamation paradox in referring to what is now called Simpson's Paradox and the Yule-Simpson effect.

## Examples

### Batting averages

A common example of the paradox involves batting averages in baseball: it is possible for one player to hit for a higher batting average than another player during a given year, and to do so again during the next year, but to have a lower batting average when the two years are combined. This phenomenon, which occurs when there are large differences in the number of at-bats between years, is well-known among sports sabermetricians such as Bill James.

A real-life example is provided by Ken Ross and involves the batting average of baseball players Derek Jeter and David Justice during the years 1995 and 1996:

1995 1996 Combined
Derek Jeter 12/48 .250 183/582 .314 195/630 .310
David Justice 104/411 .253 45/140 .321 149/551 .270

In both 1995 and 1996, Justice had a higher batting average (in bold) than Jeter; however, when the two years are combined, Jeter shows a higher batting average than Justice. According to Ross, this phenomenon would be observed about once per year among the interesting baseball players. In this particular case, the paradox can still be observed if the year 1997 is also taken into account:

1995 1996 1997 Combined
Derek Jeter 12/48 .250 183/582 .314 190/654 .291 385/1284 .300
David Justice 104/411 .253 45/140 .321 163/495 .329 312/1046 .298

### Kidney stone treatment

This is a real-life example from a medical study comparing the success rates of two treatments for kidney stones.

The first table shows the overall success rates and numbers of treatments for both treatments (where Treatment A includes all open procedures and Treatment B is percutaneous nephrolithotomy):

Treatment A Treatment B
78% (273/350) 83% (289/350)

This seems to show treatment B is more effective. If we include data about kidney stone size, however, the same set of treatments reveals a different answer:

Treatment A Treatment B
Small Stones Group 1
93% (81/87)
Group 2
87% (234/270)
Large Stones Group 3
73% (192/263)
Group 4
69% (55/80)
Both 78% (273/350) '''83% (289/350)

The information about stone size has reversed our conclusion about the effectiveness of each treatment. Now treatment A is seen to be more effective in both cases. In this example the lurking variable (or confounding variable) of stone size was not previously known to be important until its effects were included.

Which treatment is considered better is determined by an inequality between two ratios (successes/total). The reversal of the inequality between the ratios, which creates Simpson's paradox, happens because two effects occur together:

1. The sizes of the groups, which are combined when the lurking variable is ignored, are very different. Doctors tend to give the severe cases (large stones) the better treatment (A), and the milder cases (small stones) the inferior treatment (B). Therefore, the totals are dominated by groups 3 and 2, and not by the two much smaller groups 1 and 4.
2. The lurking variable has a large effect on the ratios, i.e. the success rate is more strongly influenced by the severity of the case than by the choice of treatment. Therefore, the group of patients with large stones using treatment A (group 3) does worse than the group with small stones, even if the latter used the inferior treatment B (group 2).

### Berkeley sex bias case

One of the best known real life examples of Simpson's paradox occurred when the University of California, Berkeley was sued for bias against women applying to graduate school. The admission figures for fall 1973 showed that men applying were more likely than women to be admitted, and the difference was so large that it was unlikely to be due to chance.

Men 8442 44%
Women 4321 35%

However when examining the individual departments, it was found that no department was significantly biased against women; in fact, most departments had a small bias against men.

Major Men Women
A 825 62% 108 82%
B 560 63% 25 68%
C 325 37% 593 34%
D 417 33% 375 35%
E 191 28% 393 24%
F 272 6% 341 7%

The explanation turned out to be that women tended to apply to competitive departments with low rates of admission even among qualified applicants (such as English), while men tended to apply to less-competitive departments with high rates of admission among qualified applicants (such as engineering). The conditions under which department-specific frequency data constitute a proper defense against charges of discrimination are formulated in Pearl (2000).

### 2006 US school study

In July 2006, the United States Department of Education released a study documenting student performances in reading and math in different school settings. It reported that while the math and reading levels for students at grades 4 and 8 were uniformly higher in private/parochial schools than in public schools, repeating the comparisons on demographic subgroups showed much smaller differences, which were nearly equally divided in direction.

The low birth weight paradox is an apparently paradoxical observation relating to the birth weights and mortality of children born to tobacco smoking mothers. Traditionally, babies weighing less than a certain amount (which varies between countries) have been classified as having low birth weight. In a given population, low birth weight babies have a significantly higher mortality rate than others. However, it has been observed that low birth weight children born to smoking mothers have a lower mortality rate than the low birth weight children of non-smokers.

## Description

Suppose two people, Lisa and Bart, each edit Wikipedia articles for two weeks. In the first week, Lisa improves 60 percent of the articles she edits out of 100 articles edited, and Bart improves 90 percent of the articles he edits out of 10 articles edited. In the second week, Lisa improves just 10 percent of the articles she edits out of 10 articles edited, while Bart improves 30 percent yet out of 100 articles edited.

Week 1 Week 2 Total
Lisa 60/100 1/10 61/110
Bart 9/10 30/100 39/110

Both times, Bart improved a higher percentage of the quantity of articles compared to Lisa, while Lisa improved a higher percentage of the quality of articles. When the two tests are combined using a weighted average, overall, Lisa has improved a much higher percentage than Bart because the quality modifier had a significantly higher percentage. Therefore, like other paradoxes, it only appears to be a paradox because of incorrect assumptions, incomplete or misguided information, or a lack of understanding a particular concept.

Week 1 quantity percentage Week 2 quantity percentage Total quantity and weighted quality percentage
Lisa 60% 10% 55.5%
Bart 90% 30% 35.5%
This imagined paradox is caused when the percentage is provided but not the ratio by various media outlets. In this example, if only the 90% in the first week for Bart was provided but not the ratio (9:10), it would distort the information causing the imagined paradox. Even though Bart's percentage is higher for the first and second week, when two week's of articles is combined, overall Lisa had improved a greater proportion, 55% of the 110 total articles. Lisa's proportional total of articles improved exceeds Bart's total.

Here are some notations:

• In the first week

* $S_L\left(1\right) = 60%$ — Lisa improved 60% of the many articles she edited.
* $S_B\left(1\right) = 90%$ — Bart had a 90% success rate during that time.
Success is associated with Bart.

• In the second week

* $S_L\left(2\right) = 10%$ — Lisa managed 10% in her busy life.
* $S_B\left(2\right) = 30%$ — Bart achieved a 30% success rate.
Success is associated with Bart.

On both occasions Bart's edits were more successful than Lisa's. But if we combine the two sets, we see that Lisa and Bart both edited 110 articles, and:

• $S_L = begin\left\{matrix\right\}frac\left\{61\right\}\left\{110\right\}end\left\{matrix\right\}$ — Lisa improved 61 articles.
• $S_B = begin\left\{matrix\right\}frac\left\{39\right\}\left\{110\right\}end\left\{matrix\right\}$ — Bart improved only 39.
• $S_L > S_B ,$ — Success is now associated with Lisa.

Bart is better for each set but worse overall.

The paradox stems from our healthy intuition that Bart could not possibly be a better editor on each set but worse overall. Pearl (2000) in fact proved the impossibility of such happening, where "better editor" is taken in the counterfactual sense: "Were Bart to edit all items in a set he would do better than Lisa would, on those same items." Clearly, frequency data cannot support this sense of "better editor," because it does not tell us how Bart would perform on items edited by Lisa, and vice versa. In the back of our mind, though, we assume that the articles were assigned at random to Bart and Lisa, an assumption which (for large sample) would support the counterfactual interpretation of "better editor." However, under random assignment conditions, the data given in this example is impossible, which accounts for our surprise when confronting the rate reversal.

The arithmetical basis of the paradox is uncontroversial. If $S_B\left(1\right) > S_L\left(1\right)$ and $S_B\left(2\right) > S_L\left(2\right)$ we feel that $S_B$ must be greater than $S_L$. However if different weights are used to form the overall score for each person then this feeling may be disappointed. Here the first test is weighted $begin\left\{matrix\right\}frac\left\{100\right\}\left\{110\right\}end\left\{matrix\right\}$ for Lisa and $begin\left\{matrix\right\}frac\left\{10\right\}\left\{110\right\}end\left\{matrix\right\}$ for Bart while the weights are reversed on the second test.

• $S_L = begin\left\{matrix\right\}frac\left\{100\right\}\left\{110\right\}end\left\{matrix\right\}S_L\left(1\right) + begin\left\{matrix\right\}frac\left\{10\right\}\left\{110\right\}end\left\{matrix\right\}S_L\left(2\right)$
• $S_B = begin\left\{matrix\right\}frac\left\{10\right\}\left\{110\right\}end\left\{matrix\right\}S_B\left(1\right) + begin\left\{matrix\right\}frac\left\{100\right\}\left\{110\right\}end\left\{matrix\right\}S_B\left(2\right)$

By more extreme reweighting Lisa's overall score can be pushed up towards 60% and Bart's down towards 30%.

Lisa is a better editor on average, as her overall success rate is higher. But it is possible to have told the story in a way which would make it appear obvious that Bart is more diligent.

Simpson's paradox shows us an extreme example of the importance of including data about possible confounding variables when attempting to calculate causal relations. Precise criteria for selecting a set of "confounding variables," (i.e., variables that yield correct causal relationships if included in the analysis), is given in (Pearl, 2000) using causal graphs.

While Simpson's paradox often refers to the analysis of count tables, as shown in this example, it also occurs with continuous data: for example, if one fits separated regression lines through two sets of data, the two regression lines may show a positive trend, while a regression line fitted through all data together will show a negative trend, as shown on the picture above.

### Vector interpretation

Simpson's paradox can also be illustrated using the 2-dimensional vector space. A success rate of $p/q$ can be represented by a vector $overrightarrow\left\{A\right\}=\left(q,p\right)$, with a slope of $p/q$. If two rates $p_1/q_1$ and $p_2/q_2$ are combined, as in the examples given above, the result can be represented by the sum of the vectors $\left(q_1, p_1\right)$ and $\left(q_2, p_2\right)$, which according to the parallelogram rule is the vector $\left(q_1+q_2, p_1+p_2\right)$, with slope $frac\left\{p_1+p_2\right\}\left\{q_1+q_2\right\}$.

Simpson's paradox says that even if a vector $overrightarrow\left\{b_1\right\}$ (in blue in the figure) has a smaller slope than another vector $overrightarrow\left\{r_1\right\}$ (in red), and $overrightarrow\left\{b_2\right\}$ has a smaller slope than $overrightarrow\left\{r_2\right\}$, the sum of the two vectors $overrightarrow\left\{b_1\right\} + overrightarrow\left\{b_2\right\}$ (indicated by "+" in the figure) can still have a larger slope than the sum of the two vectors $overrightarrow\left\{r_1\right\} + overrightarrow\left\{r_2\right\}$, as shown in the example.