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.png

 

Time is running out to save with the early bird rate. Register by Friday, March 1 for just $695 - $100 off the standard rate.

 

Check out the agenda and get ready for a jam-packed event featuring workshops, super demos, breakout sessions, roundtables, inspiring keynotes and incredible networking events. 

 

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.

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