Hello!
I have a DV with two outcomes. Several IVs (categorical and continuous). I want to predict the DV using the IVs, but I also have control variables (categorical and continuous) that I need to put in the equation first.
I found this code:
PROC LOGISTIC < options >;
BY variables ;
CLASS variable <(v-options)> <variable <(v-options)>... >
< / v-options >;
CONTRAST ’label’ effect values <,... effect values>< =options >;
FREQ variable ;
MODEL response = < effects >< / options >;
MODEL events/trials = < effects >< / options >;
OUTPUT < OUT=SAS-data-set >
< keyword=name:::keyword=name > / < option >;
< label: > TEST equation1 < , ::: , < equationk >>< /option >;
UNITS independent1 = list1 < :::
However, I 'm not sure where to place the control variables. Any help would be greatly appreciated.
Thanks and Happy Thanksgiving!
I have a DV with two outcomes. Several IVs (categorical and continuous). I want to predict the DV using the IVs, but I also have control variables (categorical and continuous) that I need to put in the equation first.
I found this code:
PROC LOGISTIC < options >;
BY variables ;
CLASS variable <(v-options)> <variable <(v-options)>... >
< / v-options >;
CONTRAST ’label’ effect values <,... effect values>< =options >;
FREQ variable ;
MODEL response = < effects >< / options >;
MODEL events/trials = < effects >< / options >;
OUTPUT < OUT=SAS-data-set >
< keyword=name:::keyword=name > / < option >;
< label: > TEST equation1 < , ::: , < equationk >>< /option >;
UNITS independent1 = list1 < :::
However, I 'm not sure where to place the control variables. Any help would be greatly appreciated.
Thanks and Happy Thanksgiving!