I am using SAS proc genmod to fit models. For example,
proc genmod data=long_respir descending; class ID Treatment visit (ref="0"); model y = Treatment visit Treatment*Visit / dist=binomial link=logit type3 wald covb; repeated subject=ID / withinsubject=visit logor=fullclust; run;
Where in the model statement specifying 'type3' requests SAS to output Type III tests for each of the predictor variables in the model. My question is: How can I view the contrast statements and 'L' matrix SAS uses to produce its Type III tests?
To elaborate, if I write my own contrast statement, I can include the '/ e;' at the end to view the 'L' matrix implied by my contrast. I would like to see the 'L' matrix implied by the contrasts SAS uses to produce the Type III tests. I cannot find how I can get SAS to give me that.
I have read the SAS proc genmod documentation for both the model statement and contrast statement and I do not see an option to get what I desire. So, either there is not an option to get this or I am overlooking something.
This is discussed in this note. As mentioned there, fit the model in PROC GLM and use the E3 option which will show the general form of the type3 tests.
This is discussed in this note. As mentioned there, fit the model in PROC GLM and use the E3 option which will show the general form of the type3 tests.
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.