Hi, I'm currently working on proc logistic using macro and I'm stuck somewhere... I'd like to make OddsRatios ODS output, which should be created by default, but it seems that my code doesn't provide this output with this warning message: "WARNING: Output 'OddsRatios' was not created. Make sure that the output object name, label, or path is spelled correctly. Also, verify that the appropriate procedure options are used to produce the requested output object. For example, verify that the NOPRINT option is not used." I'd like to create a table with point estimate, CI and p-value but I guess other tables that I have checked by ods trace on; don't have those things. Anyone can help me find it out? Thank you in advance. Here's my code: %macro mlogitadj(table, var, ref, class, varcat, varcont, mod);
proc logistic data=&table;
format (formatting for variables) ;
class &class;
model &var (ref=&ref)= &varcat &varcont/ lackfit link=glogit;
ods output OddsRatios = or_&mod
NObs = NObs&mod
ModelANOVA = T3_&mod;
run; And the ods trace provides these tables available: ModelInfo, NObs, ResponseProfile, ClassLevelInfo, ConvergenceStatus, FitStatistics, GlobalTests, ModelANOVA, ParameterEstimates, LackFitPartition, Stat.Logistic.LackFitChiSq and LackFitChiSq
... View more