BookmarkSubscribeRSS Feed
FrancisDsa
Calcite | Level 5

Please help me to get rid or overwrite the title "Cumulative Distribution Function for x".

I have been struggling for last 24 hours trying all the option.

Below is the example:

data test;

        drop i;

        do group='A','B';

          do i=1 to 100;

            if group='A' then x=25 + 8*rannor(2345);

              else x=5 + 8*rannor(12345);

            output;

          end;

        end;

      run;

       title 'Comparative plots';

       ods graphics on;

      proc univariate data=test noprint;

        var x;

        class group;

        cdfplot x/overlay;

      run;

      quit;

      title;

2 REPLIES 2
PGStats
Opal | Level 21

With SAS 9.3 TS1M2, you can use options ODSTITLE= and ODSTITLE2= on the CDFPLOT statement

cdfplot x/overlay odstitle="My Title";

PG


CDFPlot1.png
PG
Reeza
Super User

If this is a one-off I'd modify the graph using ODS Graphics editor. If you need it done automagically then I think you may need to modify the template code.

I thought there was an option to change some of that but can't seem to find it. You may want to post this in a SAS Graphics Forum to get a better response.

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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