Programming the statistical procedures from SAS

A question about the PROC GENMOD

Accepted Solution Solved
Reply
Contributor
Posts: 36
Accepted Solution

A question about the PROC GENMOD

I'am using the PROC GENMOD like this :

PROC GENMOD DATA = LIFDAT;
CLASS MFG;
MODEL LIFETIME = MFG / DIST=GAMMA LINK=LOG TYPE3;
RUN;

but I dont understand why an estimated parameter equals zero

pic.PNG

What does it means ? can we change that ?

 


Accepted Solutions
Solution
‎06-28-2017 08:30 AM
Trusted Advisor
Posts: 1,913

Re: A question about the PROC GENMOD

[ Edited ]

In the CLASS statement you can add an option to change the parameterization of your model to the EFFECT, this may be what you are looking for.

 

class mfg/param=effect;

but please note the resulting model is the same, and the predictions are the same, just the way the model is parameterized has changed.

 

 

In this situation, you may be more interested in the LSMEANS, which sound like what you really want to look at here instead of the model effects, and the LSMEANS don't change depending on the parameterization of the model.

View solution in original post


All Replies
SAS Super FREQ
Posts: 3,752

Re: A question about the PROC GENMOD

See "Parameterization of Model Effects" in the SAS documentation.

 

When you use a classification variable, one of the levels is redundant. In the GLM parameterization (the default for PROC GENMOD) the parameter for that level is set to zero.

Solution
‎06-28-2017 08:30 AM
Trusted Advisor
Posts: 1,913

Re: A question about the PROC GENMOD

[ Edited ]

In the CLASS statement you can add an option to change the parameterization of your model to the EFFECT, this may be what you are looking for.

 

class mfg/param=effect;

but please note the resulting model is the same, and the predictions are the same, just the way the model is parameterized has changed.

 

 

In this situation, you may be more interested in the LSMEANS, which sound like what you really want to look at here instead of the model effects, and the LSMEANS don't change depending on the parameterization of the model.

☑ This topic is solved.

Need further help from the community? Please ask a new question.

Discussion stats
  • 2 replies
  • 124 views
  • 3 likes
  • 3 in conversation