BookmarkSubscribeRSS Feed
UcheOkoro
Lapis Lazuli | Level 10

Hello,

 

Please, I need help with getting a type 3 analysis with PROC GEE.

The following is my SAS code.

Thank you.

 

PROC GEE DATA=COVERED.Demographics desc;
CLASS complete_adherence2(ref='1') record_id ethnicity (ref='1');
MODEL complete_adherence2 = ethnicity/ DIST=MULTINOMIAL LINK=gLOGIT  type3;
REPEATED SUBJECT=record_id / TYPE =indep ;
lsmeans ethnicity/  ILINK diff e cl oddsratio ;
RUN;
1 REPLY 1
sbxkoenk
SAS Super FREQ

Hello,

 

The PROC GEE is giving ERRORs or WARNINGs in the LOG without any doubt.

Can you please share with us what the LOG is telling you?

 

Do not put the OUTCOME / RESPONSE variable in the CLASS statement.

The CLASS statement names the classification variables (that are explanatory!!) to be used in the analysis.

 

TYPE3

requests that statistics for Type 3 contrasts be computed for each effect specified in the MODEL statement. The default analysis is to compute score statistics for the contrasts. Type 3 analyses using the score statistics are not supported for nominal response data or weighted GEE methods. Wald statistics are computed if the WALD option is also specified.

 

Cheers,

Koen

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

What is ANOVA?

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.

Discussion stats
  • 1 reply
  • 726 views
  • 0 likes
  • 2 in conversation