06-13-2014 09:25 AM
I have deduced my final model using proc genmod procedure in SAS. My dependent variable is binary; and I have categorical variables as predictors in my final model. I am interested in understanding which category of a variable is driving the whole effect, and was wondering if it is possible to use LSMEANS statement in genmod. When I try using the LSMEANS statement, I get the following error:
The model does not have a GLM parameterization. This parameterization is required for
the TEST, LSMEANS, LSMESTIMATE, and SLICE statement. These statements are ignored.
Could someone please let me know the feasibility of using this procedure when we have a binary dependent variable? Thanks.
06-16-2014 08:30 AM
Which version of SAS/STAT are you using, as the answer may depend on that?
Can you share your PROC GENMOD code? It should be easy to change the CLASS statement to glm parameterization, which will open up all of these options. Something like:
CLASS <your list of class variables here> / PARAM=GLM;
A quick check showed that the GLM parameterization is the default. I only got the error you mentioned when I specified PARAM=REF.
An alternative approach, which works with the REF parameterization, would be to use PROC GLIMMIX.