BookmarkSubscribeRSS Feed
Joan
Fluorite | Level 6
I would like to suppress the subtitle "conditional analysis" in the ods output from conditional logistic regression models. I want or plots w/out any titles. noptitle is not suppressing the subtitle. Here is code snippet...Thanks.

ods listing close;
ods document name=docs.m&model(write);
ods graphics on;

ods noptitle;
ods select orplot;
proc logistic data=dset.&ds descending plots(only)=(oddsratio);
strata &strata / nosummary;
....
2 REPLIES 2
Cynthia_sas
SAS Super FREQ
Hi:
I assume you mean the extra folder in the results hierarchy that says "Conditional Analysis" -- that folder is created by PROC LOGISTIC as it runs and it would show up in the PDF as an entry in the TOC. I do not notice it in the graph; however, I do see "Conditional Analysis" as a "sub" title that is present in the actual LISTING output. I don't see the string "Conditional Analysis" in the few table templates I browsed. So the only conclusion I can make is that something in your code triggered the conditional analysis and you get that "sub" title for free. I notice that you are using ODS DOCUMENT -- you should be able to get rid of the folder structure when you replay the saved document, by making a new structure and copying objects from the original structure to the new structure. You may be able to delete the "sub title" with one of the "OB" commands in the PROC DOCUMENT batch syntax. -- I'm not entirely sure, since LOGISTIC is not one of my "go to" procedures. You might wish to check with Tech Support specifically about the "Conditional Analysis" sub title, if you can't figure out how to get rid of it with ODS DOCUMENT.

Refer to the examples in this paper for an example of what I mean:
http://support.sas.com/resources/papers/sgf09/318-2009.pdf
http://support.sas.com/rnd/papers/sgf09/ods_document.zip (programs)

cynthia
Joan
Fluorite | Level 6
Thanks, I was able to get rid of the unwanted subtitle when I replayed the OR graph in "proc document" by using the obstitle statement with no title specified.

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 854 views
  • 0 likes
  • 2 in conversation