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;
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
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.