Math 151 , Spring 2004, Friday Day 39, May 7 Hit reloadAfter class

HW assignment Day 39
(Re)read 7.1. Read 7.2.  You are responsible for the material through p. 402; should read and understand the rest in order to be able to deal with the output from SPSS, and future encounters.  Up to p. 402 is the last material you're responsible for.(The horrible formula on p. 403 is the one SPSS uses to find the d.f.  You do NOT need to know it--I do not expect you to ever calculate it by hand.)
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 . 
- - - - - - - - - - - - - - - - - - 
Robustness, etc. (text pp. 379-381) 
--Make a dot plot of the differences in problem 7.21
p. 386 7.20 Acculturation
7.23 Increase in CEO pay
7.25 Presidents' ages
= = = = = = = = = = = = = = = = =
SPSS, Matched pairs 
(SPSS) B. Work through the handout on SPSS for Ch. 7, back page (matched pairs). Print and Hand in the tables shown on the handout. (Making the new variable Diff  is optional, but highly recommended!.) 
(SPSS) p.378, 7.9 &10 (right/left threads) Optional: make a variable for the difference  and produce a stemplot to check for outliers.  * There is an annoyance here--we expect the right thread times to be smaller than the left thread times, so it might be easier to think about (left -right) and anticipate a positive average.  But unless we exchange the order of the variables in the SPSS file, we have to do (right - left) if we do a "paired-sample test", and anticipate a  negative average.  Be clear what you do. 

(SPSS) p. 382, 7.11 caffeine dependence  Again, watch out for the direction of your differences and what they mean. 
= = = = = = = = = = = = = = = = = =
part of Next Assignment: Two-sample--beginning (Not SPSS) ch 7.2
p. 391, 7.28, 7.29 which design? 

p. 396, 7.30, 7.31 s, SE, d.f.
p. 401, 7.34 beetles in oats (test)
p. 412, 7.49 voice onset time (test and CI)

Exam 3 returned. Comments next time.  Solutions outside my door and on reserve.
        total    #1  #2#3 #4 #5 #6  #7  #8 #9 #10#11 +5 10|1
possible 104    12    6 6 16  8 19   8   10  5 5  4   5  9|378
     max 101    12    6 6 16  8 19   8   10  5 5  4   5  8|22
      q3  80    12    6 6 16  8 12.5 7.5 10  5 2  3.5 5  7|044468
     med  70    12    4 6 12  8 11   6    9  2 2  1   5  6|469
      q1  46.5  10.5  2 4 7.5 4  7.5 6    7  0 0  0.5 5  5|1
     min   0    6     1 3 0   0  3   3    0  0 0  0   5  4|067

Final exam:  Tuesday, May 18, 9 a.m.  Optional later time:  Thurs. May 20 any period of time between 9:15 and 4:30, by signup.

The exam will be closed book, but one sheet of your notes.  Length 1 1/2 to2 times the length of the midterm exams; comprehensive but with special attention to the material covered since Exam 3.  Reading but not creating SPSS.

What is the significance to Statistics of the Guinness Stout Bottle ?
~~~~~~~~~~~~~~~

HW questions on t-procedures?  SPSS?
Matched pairs, Robustness: Day 38
SPSS for Matched pairs:  See Handout from Wed, backside of one-sample t.
Start here Monday
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,  diff xbar1 - xbar2 .
We need the Standard Error of the difference  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:

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 
Test:  H0: µ1 - µ2 = 0 same as µ1 = µ2 , "no difference" always
        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.
Back page of t- handout.


Sievers home  Math151-Sp04/Days39.htm  1:30pm 5/7/04
This page belongs to Sally Sievers who is solely responsible for its content. Please see our statement of responsibility.