Not sure you need a contract statement, but what you do need is to add /param=ref to the end of your class statement. Add your interaction terms to the model statement. Add the oddsratio statement for the odds ratio you're interested in (assuming at least 9.2+ I think). You may have to change your ods table names to get different tables. See here for further reference on getting estimates for odds ratios: 24455 - Estimating an odds ratio for a variable involved in an interaction PROC LOGISTIC DATA = final_dataset descending; class group agen Male racen DIABn CR2n logn stsn ECMRGn EFN Frailn scoren MMSEn BMIn VISn/param=ref; MODEL scin_30day = group BASE agen Male racen DIABn CR2n logn stsn ECMRGn EFN Frailn scoren MMSEn BMIn VISn group*age group*sex add other interaction terms here/rsquare lackfit; oddsratio agen; oddsratio male; oddsratio group/at=(age=0); ods output ParameterEstimates=dPara1 OddsRatios=dOdds1; RUN;
... View more