!
أما إذا أردنا تنفيذ الانحدار المتدرج بطريقة الحذف إلى الأمام Farward Elimination، فإنه يمكن كتابة البرنامج الآتي: (يتم تحديد قيمة 0 = F-to-remove وقيمـة Alpha-to-remove وقيمة 0.25 = Alpha-to-enter) بعد استخدام الإيعاز الفرعي
=
1
MTB > stepw c2 c3-c6;
SUBC> forward;
SUBC> fremove 0;
SUBC> aremove 1;
Farward
على طريقة الانحدار المتدرج بالحذف إلى
SUBC> aenter 0.25.
Stepwise Regression: Heating cost versus Minimum temp,
Inches of in,...
Forward selection.
Alpha-to-Enter: 0.25
Response is Heating on 4 predictors, with N = 20
Step
1
2
3
Constant
388.8
300.3
393.7
Minimum
-4.93
-3.56
-3.96
T-Value
-5.89
-4.70
-6.07
P-Value
0.000
0.000
0.000
garage X
93
77
T-Value
3.56
3.40
P-Value
0.002
0.004
Inches o
-11.3
T-Value
-2.83
P-Value
0.012
S
R-Sq
R-Sq (adj)
C-p
63.6
49.5
41.6
65.85
80.46
86.98
63.96
78.16
84.54
26.8
10.5
4.3
More? (Yes, No, Subcommand, or Help)
SUBC> yes
No variables entered or removed
More? (Yes, No, Subcommand, or Help)
SUBC> no
۱۹۷
ص١٩٢