I am having problem to run SAS codes using SAS studio (university). The weird thing is that when I open the same file and run using SAS program in the computer at the University, it works. So basically some files open some not. The example that I am using:
data Q1;
input day type $ lightReading;
datalines;
1 M 4
1 A 4.8
1 K 5
1 L 4.6
2 M 4.8
2 A 5
2 K 5.2
2 L 4.6
3 M 4
3 A 4.8
3 K 5.6
3 L 5
;
*proc glm data=Q1;
class day type;
model lightreading= day type;
run;
proc anova data=Q1;
class day type;
model lightreading= day type;
run;
***The error that gives me is that:
ERROR 180-322: Statement is not valid or it is used out of proper order.