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
Diamond | Level 26
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.

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

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