12.07.2015 Views

Course Notes - Department of Mathematics and Statistics

Course Notes - Department of Mathematics and Statistics

Course Notes - Department of Mathematics and Statistics

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

0.236 < β 1 < 0.496• We can conclude the slope <strong>of</strong> the regression line is wholly positive,so there is evidence as the father’s height increases, the child’sheight increases.Hypothesis Test• Apart from ANOVA <strong>and</strong> confidence intervals, we can also use ahypothesis test to check whether or not the relationship is important.• The general format for the hypothesis test is:H 0 β 1 = 0 (The slope is zero, so y <strong>and</strong> x are not linearly related.)H A β 1 ≠ 0 (The slope is not zero, so y <strong>and</strong> x are linearly related.)• We need to calculate a test statistic for this hypothesis test. Rememberthe general form is :Sample statistic - Null valuet =St<strong>and</strong>ard error• The t here is short for test statistic, it is NOT related to Studentst-distribution• In the case <strong>of</strong> test statistic for a slope this becomes:t = β 1−0s.e. β1• So for the height example this becomest = β 1 − 0s.e. β1t = 0.366 − 00.0663t = 5.5204• The p-value for this can be found using Rexcel with the comm<strong>and</strong>sDistributions > Continuous distribution > Normaldistribution > Normal probabilities• The p-value associated with this is 1.6911 × 10 −18 which is verysignificant, giving us the same conclusion that we came up withfrom the confidence intervals.220

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!