This statistical scenario is analogous to what we saw with the difference between two sample proportions. For the simulation, we'll assume the null hypothesis of equal population means for females and males is true, so the difference in the population means is zero. We'll make both the males' and females' population means equal 3.0. We want to see how frequently we should expect to get two sample means that are 0.5 apart or more simply by chance when the two population means are in fact equal. The uncertainty, as usual, is driven by the variances and sample sizes. We'll use the sample variances of 3.1 and 2.9 as estimates for the female and male ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training,
learning paths, books, interactive tutorials, and more.