BookmarkSubscribeRSS Feed
smorkoc
Fluorite | Level 6

Hi,

I'm having a problem with the result of test statement. Actually here is my code, but in glm section, Idk what the problem is but i see bunch of dots.. 

 

proc glm data=ndata.butner_total_respiration_new ;
class block Spacing tno;
model log_CO2flux =block spacing tno spacing*tno block*spacing*tno ;
test h=block e=block*spacing*tno/ etype=3; test h=spacing e=block*spacing*tno/ etype=3; test h=tno e=block*spacing*tno/ etype=3; test h=spacing*tno e=block*spacing*tno/ etype=3; run; ods graphics off;
3 REPLIES 3
PGStats
Opal | Level 21

Your error sum of squares is zero. Meaning that all available degrees of freedom are taken by your model parameters. This is not a problem if your intent was to test the parameters with other error terms, as you did with your test statements.

PG
smorkoc
Fluorite | Level 6

So, should my class statement include all the variables seen in error terms?

PGStats
Opal | Level 21

All the terms mentioned in your test statements must appear in your model and all model categorical variables must be mentioned in the class statement.

PG

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

Mastering the WHERE Clause in PROC SQL

SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.

Find more tutorials on the SAS Users YouTube channel.

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