I am currently studying statistics but am looking at Simpson's paradox, which makes use of a number theory claim which I do not dispute. The paradox is described more as an example, and I will describe it below:
Assume we have a sample space $\Omega$ that is discrete with 100 elements. Let there be events A and B within $\Omega$ such that $A \cup B = \Omega$. So $A$ and $B$ are a partition.
Consider a different partition $C$, $D$ so again $C = D^C$. We could have the following probabilities:
$P(A \cap C) = 0.25, P(A \cap D) = 0.25, P(B \cap C) = 0.28, P(B \cap D) = 0.22 \hspace{2mm}(Equ. 1)$.
You can see this as four groups with some proportion of the whole sample space. According to the example, consider a third partition $E,F$ with the following probabilities:
$P(A \cap C | E) = 0.15, P(A \cap D | E) = 0.22, P(B \cap C | E) = 0.05, P(B \cap D | E) = 0.08 \hspace{2mm}(Equ. 2)$. $P(A \cap C | F) = 0.10, P(A \cap D | F) = 0.03, P(B \cap C | F) = 0.23, P(B \cap D | F) = 0.14 \hspace{2mm}(Equ. 3)$.
With these numbers, we assume $A$ is the event of elements that are 'red' and $B$ are 'blue'. Looking at $(Equ. 1)$, we see $50\%$ of red elements are C, and $56\%$ of blue elements are C.
Looking at $(Equ. 2)$, $41\%$ of red elements are C, and $38\%$ of blue elements are C. So conditional on event $E$, more elements are red than blue, despite the overall sample space having more blue than red.
The same is seen with $(Equ. 3)$, where there are more red than blue. This seems misleading intuitively because we expect proportions of a population to not change depending on how we 'slice' or condition the sample space.
The number theory inequality that explains the paradox is:
$\frac{A}{B} > \frac{a}{b}$ and $\frac{C}{D} > \frac{c}{d}$ does not imply $\frac{A + C}{B + D} > \frac{a + c}{b + d}$.
I can appreciate this implication may not be true and am given an example of it failing. However, what is the 'failing point' that makes this inequality true? As in how has the Simpson's paradox managed to produce this misleading but true (and I don't doubt it's true) result.
Apologies if this is not exactly clear, hopefully the last paragraph clarifies what I am looking for.