Hi,
It is so great to have a forum like this! I am a new SAS user and often run into some problems.
I am having an issue with my Proc glimmix syntax.
I have am trying to run a multinomial regression with proc glimmix, but I do not know to adjust the code to accomodate that.
My dependent variable(contra) has 3 outcomes:
1= no contraception
2= traditional contraception
3=modern contraception
I have some dummies as independent variables - no education (reference), primary educ, secondary educ
Right now my syntax looks like this :
data library.finalwomen1;
set library.finalwomen1;
proc sort data = library.finalwomen1;
BY v001; /* cluster level variable*/
run;
PROC GLIMMIX data=library.finalwomen1;
CLASS V001;
MODEL contra = primary secondary /link=solution dist=mult covb;
RANDOM Intercept group=dv /subject=V001;
RUN;
I need to use either proc glimmix or proc nlmixed as this is a multilevel dataset and I need to control for clustering.
As I run the above program, the output shows my dependent variable to be ordered. Clearly, it is supposed to be UNORDERED. How do I fix the code? Any help would be wonderful !