I am a beginner using SAS for stats 3. I have been trying to use this software without luck.
I type the code
proc glm data= homework 6;
Model y=x1 x2;
this part above does not even work
then I have to
Estimate “L=b0+300*b1+150*b2” intercept 1 x1 300 x2 150;
all code is given by my professor and when I try to do anything I get the error message
ERROR: the following text is a syntax error: "proc" (1,1)
it seems that not even the first word in my line is correct even though I copy and pasted it from my professor
Please help lol I need this data to do a95% CI for mean response and new value response
thanks!
I feel like this is really simple but I have been trying for 4 hours with no luck if someone could help me it'd make my week
Since there has been no responses, here is screenshot of what I am doing.
please help me 😞
The code in your first post does not match the code in your later photograph.
In the first one you have space in the middle of the dataset name, before the digit 6.
proc glm data= homework 6;
In the photograph the code is missing the semi-colon to end the PROC statement. So instead of a PROC statement and a MODEL statement you have just a PROC statement with a MODEL option, which is invalid syntax for PROC GLM.
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.
Find more tutorials on the SAS Users YouTube channel.