Hi,
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;
strata group;
class birthsea (ref='1') CMV_ca_2_1 (ref='2') sex (ref='1');
model PEstatus (event='1')= birthsea CMV_ca_2_1 sex;
run;
Thanks
Your code is correct. As mentioned earlier set the parameterization method.
Your code is correct. As mentioned earlier set the parameterization method.
Yes, your code is correct. To read more about the various parameterizations that SAS offers for classification variables, see the following:
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.