|  | Let's see if Marlboro male students
 are taller than female students.
 
 Method: difference of means
 m1 = mean of male heights
 m2 = mean of femail heights
 
 H0 : males and females are the same height
 diff = m1-m2 = 0
 
 Halpha: males are taller (one tail)
 m1 > m2
 
 Standard deviation of m1 is
 sigma_m1 = 2.94 / sqrt(41) = 0.459
 (This is also called the "Standard Error").
 
 Standard deviation of m2 is
 sigma_m2 = = 3.42/sqrt(44) = 0.516
 
 Standard deviation of difference is
 sigma_diff = sqrt( sigma_m1^2 + sigma_m2^2)
 = sqrt( 0.459^2 + 0.516^2)
 = 0.691
 
 Let's choose alpha significance level = 0.01.
 Then our cutoff value for diff is where the
 probability of diff > cutoff is 0.01.
 
 One way to find the cutoff is to calculate
 the z-score, then look in our textbook table D-4,
 then convert back to a corresponding raw score.
 
 Another is to use Excel's NORMINV function.
 Type =NORMINV(0.99,0,0.691) into a cell,
 hit return, and get cutoff
    = 1.61.  In other words,
 a normal variable with mean=0 and sigma=0.691
 is bigger than 1.61 only 1% of the time.
 
 Therefore, our decision rule is to reject the
 null hypothesis if m1-m2 > 1.61.
 
 The actual value is
 diff = m1-m2 = mean male - mean female
 = 70.86 - 64.64 = 6.22
 and so we *do* reject the null hypothesis:
 
 Male students at Marlboro are taller than female students.
 |  |