Help using Base SAS procedures

Only output specific results from Proc Logistic

Accepted Solution Solved
Reply
Contributor
Posts: 71
Accepted Solution

Only output specific results from Proc Logistic

I am interested in only seeing the below portion of proc logistic. Is there a way to specify only to see this output? Thank you for any assistance you can provide.

                                         TheSAS System      15:02 Monday, November 7,2011 1804

                                     TheLOGISTIC Procedure

                                    ModelConvergence Status

                         Convergence criterion(GCONV=1E-8) satisfied.

                                      Model FitStatistics

                                                         Intercept

                                          Intercept            and

                             Criterion          Only     Covariates

                             AIC            6775.825       6777.534

                             SC             6782.682       7161.483

                             -2 Log L       6773.825       6665.534

                            Testing Global NullHypothesis: BETA=0

                    Test                 Chi-Square       DF    Pr > ChiSq

                    Likelihood Ratio       108.2913       55         <.0001

                    Score                  103.3754       55         <.0001

                    Wald                    98.8553       55         0.0003

                                   Type 3Analysis of Effects

                                                  Wald

                           Effect      DF   Chi-Square    Pr > ChiSq

                           school      54      98.0675        0.0002

                           sex          1        0.8088        0.3685


Accepted Solutions
Solution
‎11-08-2011 11:55 AM
PROC Star
Posts: 7,363

Only output specific results from Proc Logistic

You can use ODS to pull up specific output tables.  For proc logistic they are identified at:

http://support.sas.com/documentation/cdl/en/statug/63033/HTML/default/viewer.htm#statug_logistic_sec...

View solution in original post


All Replies
Solution
‎11-08-2011 11:55 AM
PROC Star
Posts: 7,363

Only output specific results from Proc Logistic

You can use ODS to pull up specific output tables.  For proc logistic they are identified at:

http://support.sas.com/documentation/cdl/en/statug/63033/HTML/default/viewer.htm#statug_logistic_sec...

Super User
Posts: 17,826

Only output specific results from Proc Logistic

Run the proc with with the code between ods trace on and off

ie

ods trace on;

proc logistic....rest of code

ods trace off;

Look at the log and get the names of the tables you're interested in or the doc that Art provided a link to.

then add in the line for either ods select or ods exclude.

ods select tablenameshere;

proc logistic

then the only output you'll get are the ones youre interested in.

If you only want to exclude one table then its easier to ods exclude tablename rather than type ods include allothers

so decide what works for you.

☑ This topic is SOLVED.

Need further help from the community? Please ask a new question.

Discussion stats
  • 2 replies
  • 122 views
  • 3 likes
  • 3 in conversation