BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
RW9
Diamond | Level 26 RW9
Diamond | Level 26

Hi,

 

Anyone know the option to turn off the titles:

Model: MODEL1

 

Dependent Variable: valud Follow-up

 

Which are added automatically from a proc reg:

proc reg data=mydata;
  ods select fitplot;
  model xyz=def;
quit;

I have setup my titles in 1-3 but this still appears in title7/8.

1 ACCEPTED SOLUTION

Accepted Solutions
ballardw
Super User

Since Proc Reg supports the possibility of multiple MODEL statements I don't believe there is an option to suppress that as it would be difficult to interpret the result with multiple models. If you need the output in a document without the model label you might send output to datasets using either the OUTPUT option or ODS  and then send that output separately to a document.

View solution in original post

4 REPLIES 4
ballardw
Super User

Since Proc Reg supports the possibility of multiple MODEL statements I don't believe there is an option to suppress that as it would be difficult to interpret the result with multiple models. If you need the output in a document without the model label you might send output to datasets using either the OUTPUT option or ODS  and then send that output separately to a document.

RW9
Diamond | Level 26 RW9
Diamond | Level 26

Thanks, I had suspected that would be the answer, but was trying to be lazy.  Will sgplot the resulting table from that.

ballardw
Super User

I tried to find which template would contain the code generating that text but couldn't in about 10 minutes of searching. Creating a replace template for the specific output might work if you can find it.

RW9
Diamond | Level 26 RW9
Diamond | Level 26

Ah, well that part I do know, its how I will build the sgplot.  Turn ods trace on, get the object, then you can run source:

proc template;
   source Stat.Reg.Graphics.Fit;
run;

Is the one for the fit graph.  It shows the individual sgplot statements and the options.  Just a matter of pulling that apart.

Thanks.

sas-innovate-wordmark-2025-midnight.png

Register Today!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.


Register now!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

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
  • 4 replies
  • 2964 views
  • 3 likes
  • 2 in conversation