Hi I am trying to follow code in the SAS Certification Prep Guide: Statistical Business analyst, and it includes the following PROC REG code. proc reg data=revenue;
model revenue=adexpense;
output out=diag predicted=yhat residual=residual stdr=stderr_resid student=student;
plot residual.*adexpense modelht=3 statht=3;
plot student.*adexpense modelht=3 statht=3;
run; But If I try and run this I get the following error 65 proc reg data=revenue;
66 model revenue=adexpense;
67 output out=diag predicted=yhat residual=residual stdr=stderr_resid student=student;
68 plot residual.*adexpense modelht=3 statht=3;
-
79
76
NOTE: The previous statement has been deleted.
69 plot student.*adexpense modelht=3 statht=3;
-
79
76
NOTE: The previous statement has been deleted.
ERROR 79-322: Expecting a *.
ERROR 76-322: Syntax error, statement will be ignored.
70 run;
I have tried adding and removing spaces but to no avail. Anyone understand what is wrong.
... View more