BookmarkSubscribeRSS Feed
Fatima123456
Calcite | Level 5

tdr is a time variable and I want to apply fixed effect on INDC. This code is giving errors:

proc glm data=all_cntrl outest=re edf;
class indc; 
model TF = AV Q3 Q4  indc / solution;
by tdr; 
output out=predicted_values p=pred r=resid;
ods output ParameterEstimates=paramEstimates;
run;

2 REPLIES 2
PaigeMiller
Diamond | Level 26

When the code is giving errors, you need to show us the log for this PROC. We need to see the lines in the log (not just the errors) from PROC GLM down to the last NOTE after PROC GLM finishes. Please copy the log as text and paste it into the window that appears when you click on the </> icon.

PaigeMiller_0-1715196634946.png

--
Paige Miller
Ksharp
Super User
"This code is giving errors:"
is awful vague . Post your dataset and LOG to clarify your question better.

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 378 views
  • 0 likes
  • 3 in conversation