Math 151 , Spring 2001, Monday, Feb. 5, Day 4 Hit reload to get most current version..

--Mary West, assistant.  x2828, Leach 207.  Math Clinic (Mac 120) T 1:30-4:30, W12:30-3:30,  Th 9-11
--HW questions?  P. 45, 1.48. P.69, 1.74
--Handout for p. 35
--Measures of spread:
Range: (Max -min) (see day 3)
Quartiles  Divide data into quarters: 1st quartile: 1/4 below, 3/4 above.  (2nd quartile= median) 3rd quartile: 1/4 above, 3/4 below.
Computation of quartiles:  Different texts, packages use different methods.  We'll use Tukey's quick and dirty: (he called them "hinges")
Take the two halves of the data you got from finding the median.  Find the median of each half, using the same rule as before.  (Detail.  IF you had an even number of observations to start with, the data divides evenly into an upper and a lower half.  IF you had an odd number to start with, you have one in the middle, the median. In this case only, you throw the median away, and use the remaining halves.
1 3 5 6 8 8 11 20, are n=8 observations.
    Median at (8+1)/2= 9/2=4 1/2th 1 3 5 6 | 8 8 11 20, M = 7
 8/2 = 4 in each half: Halves are 1 3 5 6, and 8 8 11 15.  The quartiles are the medians of each half; count in (4+1)/2= 2 1/2.  1 3 | 5 6,  Q1= (3+5)/2= 4.
8 8 |11 15. Q3= (8+11)/2= 9.5

1 3 5 6 6 8 8 11 20, are n=9 observations.
     Median at(9+1)/2=10/2=5th 1 3 5 6 6 8 8 11 20, M = 6
 Throw away the median.  Now we have an even number again, 8
8/2 = 4 in each half: Halves are 1 3 5 6, and 8 8 11 15.  Continue as before. (This is a  dirty method because it gives the same quartiles for both these data sets.  Quick because computation is minimal and simple.)
 

Five-number summary:  min, Q1, Median, Q3, max.  (1, 4, 7, 9.5, 20  for the set of 8 above)
INTERQUARTILE RANGE = IQR= Q3 - Q1. (9.5 - 4 =5.5 for both sets above)
      =The range of the middle half of the observations.  Resistant to outliers!
Box (and whisker) plot:  Graphical form of five number summary.
    Especially good for comparing sets of data.
Draw and label the numerical scale first.  Then mark the five numbers. Finish the picture.
The box spreads over the middle half, the whiskers over the smallest and largest quarter.  Each section shows the spread of 1/4 of the data: the longer the section the thinner the data must be spread in there.
~~~~~~~~~~~~~~~~~~~~~~~
Standard deviation (goes with mean)
Handout for SPSS
     Variance:  (almost) average of squared deviations from the mean.
            (Divide by (n-1) "degrees of freedom")
    s : Standard deviation  is the square root of the variance.  (We'll compute by hand next time.)
        Physics: angular momemtum (spinning ice skater)
        Not so weird: High school geometry?
   Very sensitive to outliers (squared  deviations do it)
Mean/standard deviation pair useful for symmetric, unimodal (one-humped), no outliers. ("Normal" dist.)


HW Day 4 (Monday, Feb.5):
Reading:  pp. 33-37 for 5-number summary, boxplots
    pp. 37-40 for S.D.  Next, 1.3 (Normal Distributions), pp.46-62.  It'll take some getting used to--start now!
We'll go to the computer lab for an intensive on SPSS, probably Friday.
Hand in
p. 36 1.31 (C-sec, 5#, boxplots) also give the IQR for each set of doctors.
1.33, SAT's, and 1.36 (p.41) stemplot
p. 43ff  1.39 ( hotdogs, box)
p. 72, 1.79 (SUV's &midsize)
1.80 (guinea pigs) make a boxplot only, to hand in. Be able to discuss the rest . 

Put on separate paper and keep for Day 5 HW
p. 40, 1.34 a. Graph the data with a dotplot.   Use SPSS to  do c.  I'll assign b next time.
1.35 (Maris HR) Use SPSS to do the calculations.  Just delete the outlier and repeat the analysis.

Read, to discuss
p. 74, 1.81a,b, 82(be sure you could compute it, don't bother to do it), &83.  (Walmart)Note how outliers are listed separately ("Low" and "High" ) rather than taking huge space for them in the stemplot.  A common practice. The outlier rule is also common for computer packages. 
(SPSS cheats--tells you they exist but not what they are!)
Optional

Sievers home  Math151-Sp01/Day4.htm  10p 2/4/01
This page belongs to Sally Sievers who is solely responsible for its content. Please see our statement of responsibility.