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

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;

1 ACCEPTED SOLUTION

Accepted Solutions
2 REPLIES 2
PaigeMiller
Diamond | Level 26

See the CLIPFACTOR= option in PROC SHEWHART.

--
Paige Miller
Dlee0416
Fluorite | Level 6

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

SAS Innovate 2025: Call for Content

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!

Submit your idea!

What is ANOVA?

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.

Discussion stats
  • 2 replies
  • 636 views
  • 1 like
  • 2 in conversation