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;
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.
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.
Ready to level-up your skills? Choose your own adventure.