11-08-2017 02:50 PM - edited 11-08-2017 03:16 PM
I'm very new to the PROC LOGISTIC statement. I would like to create a table from PROC LOGISTIC, which include parameter estimates, oddsradio, p-value, and number of observations. There are hundreds of variables in my by statement, so it's so time consuming to copy and paste. My current code is like this:
proc logistic data=srvc2015 noprint outest=out.PE2015;
model opioids = Value ;
I'm wondering if there are some options I could add to it. If there are some options can generate odds-ratio tables or p-value tables, I can merge them together too. Appreciate all the help.
Thank you so much!
11-08-2017 03:30 PM
You'll have to capture the tables and combine them to what you want, but most of the information should be in an ODS table called ParameterEstimates.
See the link above for detailed instructions.