The SAS Output Delivery System and reporting techniques

How can I suppress subtitle "conditional analysis"?

Reply
Occasional Contributor
Posts: 12

How can I suppress subtitle "conditional analysis"?

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;
....
SAS Super FREQ
Posts: 8,743

Re: How can I suppress subtitle "conditional analysis"?

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
Occasional Contributor
Posts: 12

Re: How can I suppress subtitle "conditional analysis"?

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.
Ask a Question
Discussion stats
  • 2 replies
  • 193 views
  • 0 likes
  • 2 in conversation