<p>I guess you mean something like this here (taken from Fig. 4 of <a href="https://www.frontiersin.org/articles/10.3389/fpsyg.2013.00513/full" rel="nofollow noreferrer">'Simpson's paradox in psychological science: a practical guide'</a>):
<a href="https://i.sstatic.net/2j360.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/2j360.png" alt="enter image description here" /></a></p>

CC BY-SA 4.0
2022-02-02T08:43:35.610Z
Is there a source for this image, or for its dataset? :)
Giskard
CC BY-SA 4.0
2022-02-02T11:23:54.520Z
@Giskard, yeah, been a bit sloppy on this... Just found and added it.
VARulle
CC BY-SA 4.0
2022-02-01T08:25:23.757Z
2022-02-02T11:37:30.943Z
2022-02-02T11:37:30.943Z
VARulle
<p>In some studies, when we do subsample and if it is nice, we may see the signs of coefficients of variables of interests are consistent among the whole sample and subsamples.</p>
<p>However, it is not always the case, there are many times that the signs of interest of one or both subsamples are opposite to the whole sample.</p>
<p>The explanation and example for the case that the signs of coefficient of variables of interests are opposite to that of the whole sample has been clearly explain here by mathematic and visualization by <strong>tdm</strong> <a href="https://economics.stackexchange.com/questions/45680/what-should-we-do-if-the-subsample-have-the-opposite-results-to-the-general-resu"><strong>here</strong></a>.</p>
<p><strong>Is there any visualization and example for the case that the sign of one subsample is similar to that of the whole sample but different from the another subsample?</strong></p>

<econometrics><regression><international-economics>
How to visualize when the signs of two subsamples are opposite and example? (Simpson Paradox)
Phil Nguyen
# How to visualize when the signs of two subsamples are opposite and example? (Simpson Paradox)

(Asked by: username_0 on 2022-02-01)

In some studies, when we do subsample and if it is nice, we may see the signs of coefficients of variables of interests are consistent among the whole sample and subsamples.

However, it is not always the case, there are many times that the signs of interest of one or both subsamples are opposite to the whole sample.

The explanation and example for the case that the signs of coefficient of variables of interests are opposite to that of the whole sample has been clearly explain here by mathematic and visualization by **tdm** [**here**](https://economics.stackexchange.com/questions/45680/what-should-we-do-if-the-subsample-have-the-opposite-results-to-the-general-resu).

**Is there any visualization and example for the case that the sign of one subsample is similar to that of the whole sample but different from the another subsample?**

**Tags:** econometrics, regression, international-economics


---

## 1 answers

### Answer by username_1 on 2022-02-01. Score: 4 | Accepted answer

I guess you mean something like this here (taken from Fig. 4 of ['Simpson's paradox in psychological science: a practical guide'](https://www.frontiersin.org/articles/10.3389/fpsyg.2013.00513/full)):
[![enter image description here](https://i.sstatic.net/2j360.png)](https://i.sstatic.net/2j360.png)

> **Comments:**
> **username_2**: Is there a source for this image, or for its dataset? :)  
> **username_1**: @username_2, yeah, been a bit sloppy on this... Just found and added it.  

---

