|
Now let's go through the men and women height example to see what happens.
I'll use the (fake) data from section 2.10.1. The heights of 25 men, and 25 women.
We first compute the averages for each group
- 1. Calculate the difference in the means
- The means are
and
.
So
.
- 2. Calculate the estimated variance of this difference
- We use eqn. 2.11 to do get
.
First we calculate
and
.
So
 |
|
|
(2.15) |
 |
|
|
|
- 3. Form t
-
.
- 3. Calculate likelihood
- We have
degrees of freedom. So we look up the area under
the t-distribution with degrees of freedom, starting at
We can use handy online tools like a calculator that'll tell you the
area under the curve
In this particular one, it tells you the area from the left so you enter in
instead. In this case, the answer is .
- 4. Verdict
- This is very significant statistically. The probability that you'd get this from
the null hypothesis is
to at least for decimal places.
Subsections
Keywords: - sample problems statistics, examples of t-test in statistics, hypothesis testing examples, advanced statistics solutions
josh
2010-10-20
| |
|