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

Hello!

I'm using proc macontrol with data related to 18 months; the plot is fragmented on many pages, with difficulties to read it. Is it possible to force then graphic on a single page?  Thanks

 

 

Script:

proc macontrol data=decessi_1; by distretto;

ewmachart giorni_rapp*dt_decesso / weight = 0.2

outhistory = prova_hist outlimits = Cliplim;

run;

 

1 ACCEPTED SOLUTION

Accepted Solutions
Rick_SAS
SAS Super FREQ

Try this: On the EWMACHART statement, use the NPANELPOS= option and use a large value, such as 

ewmachart giorni_rapp*dt_decesso / weight = 0.2 NPANELPOS=5000;

View solution in original post

4 REPLIES 4
SteveDenham
Jade | Level 19

The only thing that looks promising to me is the MAXPANELS= option.  If you want all on a single page, the code might look like this:

 

proc macontrol data=decessi_1; by distretto;
ewmachart giorni_rapp*dt_decesso / weight = 0.2 MAXPANELS=1;
outhistory = prova_hist outlimits = Cliplim;
run;

Not sure though.

 

SteveDenham

 

monicluder
Fluorite | Level 6

Thank you Steven, but unfortunately it does not work: the error message is:

ERROR: The number of panels needed is 12 which exceeds the maximum of 1.

Rick_SAS
SAS Super FREQ

Try this: On the EWMACHART statement, use the NPANELPOS= option and use a large value, such as 

ewmachart giorni_rapp*dt_decesso / weight = 0.2 NPANELPOS=5000;

monicluder
Fluorite | Level 6
Thanks a lot!! Now I have the desired output!!!

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
  • 328 views
  • 0 likes
  • 3 in conversation