Documente Academic
Documente Profesional
Documente Cultură
Regression
FittingModelsforMultipleIndependentVariables
ByEllenLudlow
height 60 63 65 66 67 68 68 69 70 70 71 72 72 73 75
weight 120 35 130 143 37 149 144 150 156 152 154 162 169 163 168
75
70
65
Weight (lbs)
60
55
115
125
135
145
155
165
Height (ins)
175
75
70
65
Weight (lbs)
60
55
115
125
135
145
155
165
175
Height (ins)
75
70
65
Weight (lbs)
60
55
115
125
135
145
155
165
175
Height (ins)
PredictorCoefStdevtratiop
Constant25.0284.3265.790.000
weight0.240200.031407.650.000
parenth0.114930.090351.270.227
s=1.165Rsq=92.6%Rsq(adj)=91.4%
AnalysisofVariance
SOURCEDFSSMSFp
Regression2205.31102.6575.620.000
Error1216.291.36
Total14221.60
y=0 +1x
Multiple regression model:
TheOverallTest
Hypotheses:
TheOverallTest
Hypotheses:
HO :1 =2 =3 =...=k
TheOverallTest
Hypotheses:
HO :1 =2 =3 =...=k
But, before you can calculate the Fstatistic, you need to be introduced to
some other terms.
But, before you can calculate the Fstatistic, you need to be introduced to
some other terms.
Regression sum of squares
(regression SS) - the variation in Y
accounted for by the regression model
with respect to the mean model
But, before you can calculate the Fstatistic, you need to be introduced to
some other terms.
Regression sum of squares
(regression SS) - the variation in Y
accounted for by the regression model
with respect to the mean model
Error sum of squares (error SS) - the
variation in Y not accounted for by the
regression model.
But, before you can calculate the Fstatistic, you need to be introduced to
some other terms.
Regression sum of squares
(regression SS) - the variation in Y
accounted for by the regression model
with respect to the mean model
Error sum of squares (error SS) - the
variation in Y not accounted for by the
regression model.
Total sum of squares (total SS) - the
total variation in Y
= (Yi Y )
i=1
n
= (Yi Y)
i=1
Total SS
= (Yi Y )
i=1
Y Y
n
i 1
i 1
Yi Y
i 1
Yi Y
So
Regression
MS
= (Yi Y )
i=1
k
n
Error MS
(Yi Y )
i=1
nk 1
n
(Y Y )
i
Total MS
i=1
n1
TestingIndividualTerms
Ifanindependentvariabledoesnotcontribute
significantlytopredictingthevalueofY,the
coefficientofthatvariablewillbe0.
Thetestofthethesehypothesesdetermines
whethertheestimatedcoefficientissignificantly
differentfrom0.
Fromthis,wecantellwhetheranindependent
variableisimportantforpredictingthedependent
variable.
TestforIndividualTerms:
TestforIndividualTerms:
HO: j =0
TestforIndividualTerms:
HO: j =0
Theindependentvariable,xj,isnotimportant
forpredictingy
TestforIndividualTerms:
HO: j =0
Theindependentvariable,xj,isnotimportant
forpredictingy
HA: 0 or 0 or 0
TestforIndividualTerms:
HO: j =0
Theindependentvariable,xj,isnotimportant
forpredictingy
HA: 0 or 0 or 0
Theindependentvariable,xj,isimportantfor
predictingy
TestforIndividualTerms:
HO: j =0
Theindependentvariable,xj,isnotimportant
forpredictingy
HA: 0 or 0 or 0
Theindependentvariable,xj,isimportantfor
predictingy
wherejrepresentsaspecifiedrandomvariable
Test Statistic:
t=
Test Statistic:
t=
d.f. = n-k-1
Test Statistic:
t=
d.f. = n-k-1
Remember, this test is only to be
performed, if the overall model of
the test is significant.
T-distribution
QuickTime and a
GIF decompressor
are needed to see this picture.