Lecture 19 - SFU Statistics

Statistics 350
Lecture 19
Today
• Last Day: R2 and Start Chapter 7
• Today: Partial sums of squares and related tests
Example
• Consider Example on page 257
•
•
•
•
Y = Percent Body Fat
X1= Triceps Skinfold Thickness
X2 = Thigh Circumference
X3 = Midarm Circumference
Example
•
Suppose only consider first two explanatory variables
•
Test hypothesis:
Ho: 1=0 (assuming X2 already in model)
HA: 1≠0 (assuming X2 already in model)
•
Important lesson is that the presence or absence of X2 in the model may
change depending upon which variables are in the model
Extra Sum of Squares
•
Some Notation:
•
SSR(X1)=
•
SSR(X1,X2) =
•
SSR(X1|X2) =
Extra Sum of Squares
•
Some Notation:
•
SSR(X1, X2 , X3)=
•
SSR(X3| X1 , X2)=
•
SSR(X2, X3 | X1)=
•
And so on…
Extra Sum of Squares
•
Decomposition:
Back to Example
•
Look at the sums of squares for this problem
Back to Example
•
Why doesn’t the regression sum of squares for the first two models not sum to
that for the third?
•
SSR(X1,X2) -SSR(X2) =3.47…what is this difference and what does it mean?
Back to Example
•
What is SSR(X2,X1) =
•
•
In words:
SSR(X2 ,X3 | X1) =
•
In words:
Back to Example
•
Who cares?
•
For example, Thigh Circumference (X2) and Midarm Circumference (X3) are
easily measured with precision using an ordinary tape measure, but Triceps
Skinfold Thickness (X1) requires a trained technician and an expensive
instrument. Then a natural question is whether we even need to bother with
X1 once we've already measured X2 and X3?
Back to Example
•
Who cares?
•
For example, Thigh Circumference (X2) and Midarm Circumference (X3) are
easily measured with precision using an ordinary tape measure, but Triceps
Skinfold Thickness (X1) requires a trained technician and an expensive
instrument. Then a natural question is whether we even need to bother with
X1 once we've already measured X2 and X3?