| Hand in: Moore,
Sec. 7.1
Matched pairs : you just treat the difference/change as one variable (x). By hand. p. 378 7.8 tomatoes. Give two values between which P lies, from Table C. p.386 7.21 healing in newts You would
only need SPSS for part a, to check the mean and s.d.-- just look
at the answers in the back of the book for them. Finish a, do b,c .
Matched pairs :
p. 382, 7.11 caffeine dependence Again,
watch out for the direction of your differences and what they mean.
Hand in sometime....
|
What is the significance
to Statistics of the Guinness Stout Bottle ?
~~~~~~~~~~~~~~~
SPSS for one-sample (Handout) Day
37
Matched pairs, Robustness: Day 38
Start here Friday
Sec. 7.2,
Comparing two means
"Two-sample tests". Two SRS's, independent, from
distinct
populations. (Populations are normally distributed)
Often--comparing means from an experiment with two treatments (usually
control and "treatment"). Cf. p. 140.
/--- Group 1, n1---- Treatment 1---\
/
\
Random asst.
Compare results
\
/
\--- Group 2, n2---- Treatment 2---/
To examine the difference of the two means, µ1
- µ2:
We need fairly normal populations; no extreme outliers.
Back to back stemplots are good; boxplots will do.
We use the difference of the two x-bars, (xbar1 - xbar2)
= diff.
We need the Standard Error of xbar1 - xbar2
,
and
then we can proceed as before, more or less.
The Standard Error is calculated like the hypotenuse of a right triangle
(Pythagorean Theorem), from the individual standard errors.
SEdiff = sqrt[SE(xbar1)2
+ SE(xbar2)2 ] P. 394 has another way of
writing the same thing.
"t" = (xbar1 - xbar2)-0
SEdiff
Unfortunately, this doesn't quite have an exact t-distribution, and
its exact distribution is very hard to deal with.
For doing by hand: df
= smaller of (n1- 1) and (n2- 1).
Will give a "conservative" result--slightly wider C.I., slightly less
significance, than a "sharper" value. If your results
hinge on the difference between this result and the computer result, they're
too close for comfort anyway.
From a computer: df = complicated formula on p. 403. Produces non-integer degrees of freedom. Very good approximation to the exact distribution, if both sample sizes are at least 5. Unsuitable for doing by hand.
Once we have (xbar1 - xbar2) , SEdiff
, and the df, our formulas pattern on the earlier ones.
Example
CI : estimate + t* . SEestimate
CI for µ1 - µ2,
difference
of means, is (xbar1 - xbar2)
+
t* . SEdiff
Test: H0: µ1 - µ2
= 0 same as µ1 = µ2 , "no difference"
Ha:
µ1 - µ2 > 0 same as µ1
>
µ2 Be careful with these, that you
know which direction you want.
or Ha: µ1
- µ2 < 0 same as µ1 < µ2
Often
we label our variables "1" and "2" so that we expect µ1
>
µ2
or Ha: µ1
- µ2 <> 0 same as µ1 <>
µ2 (not equal)
Calculate t, find P-value
(approximate, conservative)
--SPSS will do our computations when we
are given raw data. Learn
SPSS next..
| Activstats 20-4 (Paired).
The 2 green stars
have very good notes.
Two-sample procedures, Activstats Ch21, pp. 1-2. |
| Sievers home | Math151-Fall02/Day39.htm | 4:30pm | 12/4/02 |