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
What does it means ? can we change that ?
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.
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.
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.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.