



































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




































Two-sample t-tests.
Last time, we used the mean of one sample to test against the hypothesis that the true mean was a particular value.
One-sided test:
Two-sided test:
In every one sample test, we have a given value we’re comparing the sample mean against. The question: Is this given value plausible?
But what if we don’t have a specific value to compare against?
What if, instead, we’re comparing the means of two groups
That’s a job for two-sample testing.
The alternative can be two-sided (not-equal), or one-sided on either side (less than / more than)
Another way to say “two means at the same” is
Let 1 and 2 be the means of each of the samples.
The t-score looks like:
We never deal with the formula in this form. Since the null assumption is that the true means are the same.
A hairy topic, to be sure. How about an example?
Example: New textbook vs. old textbook.
Say we wanted to test if a new brand of textbook is a better resource as measured by provincial exam scores. (alpha = .05)
We’ll get two classrooms of the same grade and similar skill level. We’ll then flip a coin, if heads:
Class A gets the current textbook, Class B get the new one.
Otherwise, Class A gets the new one.
First, identify:
We are comparing two mean, a two-sample test is appropriate.
We want to know if the new textbook is better so this is a one- sided test.
But what do we do about the standard error?
There are values for n, and two values for standard deviation.
Old text class New text class Mean 64.3 68. Std. Dev. s
Sample Size n 21 23
deviation of the whole system.
In this case, the samples are roughly the same size, so the
the two standard deviations (7.1 and 7.4).