I have created a mixed distribution model comprising 80% $H_0$ plus 20% $H_1$ to illustrate the link between the expected proportions of true and false positives and negatives in the PDF, CDF and p-value distributions.
When the effect size is small (25% increase in expected correlations vs $H_0$), everything looks consistent:
However, when I increase the effect size to 75% by separating $H_1$ from $H_0$, things don't seem to add up because I get apparent false negatives (grey area) in the p-value distribution, which are no longer there in the PDF and CDF distributions:
Conversely, when I reduce the effect size to 0% (so that $H_1$ = $H_0$), the grey area disappears altogether from the p-value distribution, whereas it is even more prominent in the PDF and CDF distributions:
Now, I'm sure I have done all the maths right and the actual distribution curves are correct and consistent, but perhaps I am misinterpreting the areas between these curves?
What do these four different coloured areas mean in each chart, and how do they relate to the expected proportions of true and false positives and negatives?
How can I show the link between these proportions in the three distributions, and why don't they correspond with each other as shown?
Please help me understand the apparent discrepancy, thanks!