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;
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;
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
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.
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;
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.