I'm creating U charts with Proc Shewhart. The desired vaxis heights for each defect bucket are specified but occasionally we have excursions that are greater than the specified vertical axis height. In these instances the vaxis option is overridden. This causes the chart to expand the vertical axis and makes interpreting the bulk of the data challenging. Is there a way to strictly enforce the desired vaxis setting in the face of excursions? I'll attach a snapshot of one example.
Thanks for any help on this.
%let defects='List of defects'
%let orderlabel='List of descriptions'
%let maxaxis='List of max vertical axes'
More SAS code and preprocessing
proc shewhart data=defects_per_grp1 gout=shew;
by defect_category;
uchart defects*seq(year month)%if %upcase(&b)=Y %then =&product.b;
/npanelpos=200 subgroupn=ngrp nolegend html=alt vaxis=0 to &this_max_axis by &this_incr vref=&median lvref=3 cvref=green;
label year="Year" month='Month' %if %upcase(&b)=Y %then &product.b="Product";;
run;
See the CLIPFACTOR= option in PROC SHEWHART.
Thanks Paige! This looks promising but the documentation is somewhat slim on exactly what's being clipped. I searched and found one of your posts from a few years ago asking the same question.
Dave
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!
ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.
Find more tutorials on the SAS Users YouTube channel.