









Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
This document demonstrates the use of sas software to perform regression analysis with variable subset selection techniques. The techniques used include forward selection, backward elimination, and stepwise selection. The data set consists of five variables and 13 observations, and the dependent variable is denoted as 'y'. The goal is to identify the best subset of independent variables that can explain the variation in the dependent variable.
Typology: Study notes
1 / 15
This page cannot be seen from the preview
Don't miss anything!










The^ REG^ ProcedureModel:^ MODEL1Dependent^ Variable:^ y Number of Observations Read^13 Number of Observations Used^13 Forward^ Selection: Step^1 Variable x4 Entered: R-Square^ = 0.6745^ and^ C(p)^ = 138.7308Analysis^ of^ VarianceSum^ of^ Mean Source^ DF^
Squares^ Square^ F Value
Pr^ >^ F Model^1
Error^11
Corrected^ Total^12
2715.76308Parameter StandardVariable Estimate Error^ Type^ II^ SS^ F^ Value
Pr^ >^ F Intercept^ 117.56793^ 5.
x4^ -0.73816^ 0.
Forward^ Selection: Step^2
Variable^ x1^ Entered:^ R-Square^
=^ 0.9725^ and C(p)^ =^ 5.4959Analysis of VarianceSum of^ Mean Source^ DF^
Squares^ Square^ F Value
Pr^ >^ F Model^2
Error^10
Corrected^ Total^12
2715.76308Parameter StandardVariable Estimate Error^ Type^ II^ SS^ F^ Value
Pr^ >^ F Intercept^ 103.09738^ 2.
x1^ 1.43996^ 0.
x4^ -0.61395^ 0.
1190.92464^ 159.30^ <.0001Bounds on condition number: 1.0641, 4. ----------------------------------------------------------------------------------------------------No^ other^ variable^ met
the^ 0.0500 significance level
for^ entry^ into^ the^ model. Summary of Forward Selection Variable^ Number^ Partial
Model Step^ Entered^ Vars^ In^
R-Square^ R-Square^ C(p)^
F^ Value^ Pr >^ F 1 x4^1
2 x1^2
Backward^ Elimination:^ Step^1 Variable x3 Removed:^ R-Square^ =^ 0.9823^ and C(p)
=^ 3.0182Analysis of VarianceSum of Mean Source^ DF^
Squares^ Square^ F Value
Pr^ >^ F Model^3
Error^9
Corrected^ Total^12
2715.76308Parameter StandardVariable Estimate Error^ Type^ II^ SS^ F^ Value
Pr^ >^ F Intercept^ 71.64831^ 14.
x1^ 1.45194^ 0.
x2^ 0.41611^ 0.
x4^ -0.23654^ 0.
Backward Elimination: Step 2Variable x4 Removed:^ R-Square^ =^ 0.9787^ and C(p)
=^ 2.6782Analysis of VarianceSum of Mean Source^ DF^
Squares^ Square^ F Value
Pr^ >^ F Model^2
Error^10
Corrected^ Total^12
2715.76308Parameter StandardVariable Estimate Error^ Type^ II^ SS^ F^ Value
Pr^ >^ F Intercept^ 52.57735^ 2.
x1^ 1.46831^ 0.
x2^ 0.66225^ 0.
1207.78227^ 208.58^ <.0001Bounds on condition number: 1.0551, 4. ----------------------------------------------------------------------------------------------------All^ variables^
left in the^ model are^ significant
at^ the 0.1000^ level. Summary of Backward Elimination Variable^ Number^ Partial
Model Step^ Removed^ Vars^ In^
R-Square^ R-Square^ C(p)^
F^ Value^ Pr >^ F 1 x3^3
2 x4^2
Stepwise^ Selection: Step 2Variable x1 Entered:^ R-Square^ =^ 0.9725^ and C(p)
=^ 5.4959Analysis of VarianceSum of Mean Source^ DF^
Squares^ Square^ F Value
Pr^ >^ F Model^2
Error^10
Corrected^ Total^12
2715.76308Parameter StandardVariable Estimate Error^ Type^ II^ SS^ F^ Value
Pr^ >^ F Intercept^ 103.09738^ 2.
x1^ 1.43996^ 0.
x4^ -0.61395^ 0.
Stepwise^ Selection: Step 3Variable x2 Entered:^ R-Square^ =^ 0.9823^ and C(p)
=^ 3.0182Analysis of VarianceSum of Mean Source^ DF^
Squares^ Square^ F Value
Pr^ >^ F Model^3
Error^9
Corrected^ Total^12
Parameter^ StandardVariable Estimate^ Error^ Type^
II^ SS^ F^ Value^ Pr^ >^ F Intercept^ 71.64831^ 14.
x1^ 1.45194^ 0.
x2^ 0.41611^ 0.
x4^ -0.23654^ 0.
Stepwise^ Selection: Step 4Variable x4 Removed:^ R-Square^ =^ 0.9787^ and C(p)
=^ 2.6782Analysis of VarianceSum of Mean Source^ DF^
Squares^ Square^ F Value
Pr^ >^ F Model^2
Error^10
Corrected^ Total^12
2715.76308Parameter StandardVariable Estimate Error^ Type^ II^ SS^ F^ Value
Pr^ >^ F Intercept^ 52.57735^ 2.
x1^ 1.46831^ 0.
x2^ 0.66225^ 0.
1207.78227^ 208.58^ <.0001Bounds on condition number: 1.0551, 4. ----------------------------------------------------------------------------------------------------All^ variables^
left in the^ model are^ significant
at^ the 0.1500^ level. No^ other^ variable^ met^ the 0.
significance^ level^ for^ entry into
the model.
Regression^ : Variable Subset^ Selection
Techniques^
The^ REG^ ProcedureModel:^ MODEL4Dependent^ Variable:^ y R-Square^ Selection MethodNumber of Observations Read^13 Number of Observations Used^13 Number inModel R-Square C(p)^ SSE^ Variables
in Model 1 0.6745^ 138.^
883.86692^ x 1 0.6663^ 142.^
906.33634^ x 1 0.5339^ 202.^
1265.68675^ x 1 0.2859^ 315.^
1939.40047^ x ----------------------------------------------------------------------^2 0.9787^ 2.
57.90448^ x1^ x2 2 0.9725 5.4959 74.76211^ x1^ x4 2 0.9353 22.3731 175.73800^ x3^ x4 2 0.8470 62.4377 415.44273^ x2^ x3 2 0.6801 138.2259 868.88013^ x2^ x4 2 0.5482 198.0947 1227.07206^ x1^ x ----------------------------------------------------------------------^3 0.9823^ 3.
47.97273^ x1^ x2^ x4 3 0.9823 3.0413 48.11061^ x1^ x2^ x3 3 0.9813 3.4968 50.83612^ x1^ x3^ x4 3 0.9728 7.3375 73.81455^ x2^ x3^ x ----------------------------------------------------------------------^4 0.9824^ 5.
47.86364^ x1^ x2^ x3^ x
Techniques^ Number^ inModel^ R-Square^ C(p)