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 2024

Innovate_SAS_Blue.png

Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

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.

Get the $99 certification deal.jpg

 

 

Back in the Classroom!

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

View all other training opportunities.

Discussion stats
  • 4 replies
  • 1999 views
  • 3 likes
  • 2 in conversation