07-08-2016 12:50 AM
When multivariable analysis is carried out, multiple variables may utilize class statement at the same time but all would have different categories as reference. How would we use them? Below is a code, please guide me is this correct?
proc logistic data=pe.matchedata_21;
class birthsea (ref='1') CMV_ca_2_1 (ref='2') sex (ref='1');
model PEstatus (event='1')= birthsea CMV_ca_2_1 sex;
07-08-2016 08:31 AM
Yes, your code is correct. To read more about the various parameterizations that SAS offers for classification variables, see the following:
Need further help from the community? Please ask a new question.