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.
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.
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.
Thanks, I had suspected that would be the answer, but was trying to be lazy. Will sgplot the resulting table from that.
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.
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.
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.
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.
Ready to level-up your skills? Choose your own adventure.