Sorry about that here is the log: OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
72
73 data Yr1;
74 input LINE$ WT COUNT X1$ X2$ X3$ X4$ X5$ ;
75 datalines;
NOTE: SAS went to a new line when INPUT statement reached past the end of a line.
NOTE: The data set WORK.YR1 has 10 observations and 8 variables.
NOTE: DATA statement used (Total process time):
real time 0.00 seconds
user cpu time 0.00 seconds
system cpu time 0.00 seconds
memory 784.56k
OS Memory 38056.00k
Timestamp 04/24/2021 09:28:42 PM
Step Count 366 Switch Count 2
Page Faults 0
Page Reclaims 90
Page Swaps 0
Voluntary Context Switches 13
Involuntary Context Switches 0
Block Input Operations 0
Block Output Operations 264
87 ;
88 run;
89
90 PROC PRINT data=Yr1; run;
NOTE: There were 10 observations read from the data set WORK.YR1.
NOTE: PROCEDURE PRINT used (Total process time):
real time 0.04 seconds
user cpu time 0.04 seconds
system cpu time 0.01 seconds
memory 2434.81k
OS Memory 38056.00k
Timestamp 04/24/2021 09:28:42 PM
Step Count 367 Switch Count 0
Page Faults 0
Page Reclaims 63
Page Swaps 0
Voluntary Context Switches 0
Involuntary Context Switches 0
Block Input Operations 0
Block Output Operations 8
91
92 data Yr2;
93 set Yr1;
94 if X1 = 'NA' then X1 = ' ';
95 if X2 = 'NA' then X2 = ' ';
96 if X3 = 'NA' then X3 = ' ';
97 if X4 = 'NA' then X4 = ' ';
98 if X5 = 'NA' then X5 = ' ';
99 run;
NOTE: There were 10 observations read from the data set WORK.YR1.
NOTE: The data set WORK.YR2 has 10 observations and 8 variables.
NOTE: DATA statement used (Total process time):
real time 0.00 seconds
user cpu time 0.00 seconds
system cpu time 0.00 seconds
memory 1064.18k
OS Memory 38316.00k
Timestamp 04/24/2021 09:28:42 PM
Step Count 368 Switch Count 2
Page Faults 0
Page Reclaims 125
Page Swaps 0
Voluntary Context Switches 17
Involuntary Context Switches 0
Block Input Operations 0
Block Output Operations 264
100
101 PROC PRINT data=Yr2; run;
NOTE: There were 10 observations read from the data set WORK.YR2.
NOTE: PROCEDURE PRINT used (Total process time):
real time 0.02 seconds
user cpu time 0.03 seconds
system cpu time 0.00 seconds
memory 978.15k
OS Memory 38056.00k
Timestamp 04/24/2021 09:28:42 PM
Step Count 369 Switch Count 0
Page Faults 0
Page Reclaims 60
Page Swaps 0
Voluntary Context Switches 0
Involuntary Context Switches 0
Block Input Operations 0
Block Output Operations 8
101 !
102
103
104 Title color=red "Forward alpha=0.10";
105 proc glm;
106 class x1 x2 x3 x4 x5;
107 model wt count=x1 x2 x3 x4 x5/selection=forward SLENTRY=0.10;;
_________
22
76
NOTE: The previous statement has been deleted.
ERROR 22-322: Syntax error, expecting one of the following: ;, ALIASING, ALPHA, CLI, CLM, CLPARM, COVBYCLASS, E, E1, E2, E3, E4,
EST, I, INTERCEPT, INVERSE, NOINT, NOUNI, P, PREDICTED, SINGULAR, SOLUTION, SS1, SS2, SS3, SS4, TOLERANCE, X, XPX,
ZETA.
ERROR 76-322: Syntax error, statement will be ignored.
108 run;
109
110 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
122 FYI I want to do variable selection of the model using forward and backward reg.
... View more