BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Salih
Calcite | Level 5

Hello,

 

I normally use (param=ref ref=...) in my coding so I easily find the parameters in my model but I am having difficulty finding the right parameters for log-linear saturated model when it is coded as (param=reffect)

 

In the attached pictures, I am looking for the parameters that are associated with blond hair and hazel eye color.(hazel is reference category) My program is below;

 

proc genmod data=students;
class hair (param=effect) eye (param=effect);
model ct = hair eye hair*eye/ dist=poisson link=log obstats;
run;

 

I am getting below which is not giving me the correct number.

ln(μ24)=3.1895(intercept)+(-0.2985) (blonde hair)=

 

Please help me understand what I am missing here.

 

Screen Shot 2018-07-27 at 6.16.54 PM.png

Screen Shot 2018-07-27 at 5.47.34 PM.pngScreen Shot 2018-07-27 at 5.47.49 PM.pngScreen Shot 2018-07-27 at 5.48.07 PM.pngScreen Shot 2018-07-27 at 5.48.24 PM.png

1 ACCEPTED SOLUTION

Accepted Solutions
StatDave
SAS Super FREQ

The Class Level Information table tells you exactly how to use the parameters. For hazel, it tells you that you add in the negative of each of the Eye parameters. Similarly, for the interaction parameters, you would add in the negatives of all of the Eye parameters for blond. That gives 10 as the predicted value after exponentiating.

View solution in original post

1 REPLY 1
StatDave
SAS Super FREQ

The Class Level Information table tells you exactly how to use the parameters. For hazel, it tells you that you add in the negative of each of the Eye parameters. Similarly, for the interaction parameters, you would add in the negatives of all of the Eye parameters for blond. That gives 10 as the predicted value after exponentiating.

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

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