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

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

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
  • 1424 views
  • 0 likes
  • 2 in conversation