BookmarkSubscribeRSS Feed
raom
Calcite | Level 5


I am performing process capability analysis using PROC CAPABILITY  by generating histogram then displaying inset for desired information, in my application the % of observations < lower specification limit by using the PCTLSS option.

My question is, is there a way to customize the number of decimal places the PCTLSS option outputs?  The default displays only 1 decimal place and I need more than that.

1 REPLY 1
raom
Calcite | Level 5

Found my answer here:

http://support.sas.com/documentation/cdl/en/qcug/63922/HTML/default/viewer.htm#qcug_capability_a0000...

Essentially just specify width after putting PCTLSS

example:

proc capability data=data;

spec lsl=A usl=B;

var X;

histogram X;

inset PCTLSS (5.4);

run;

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 1040 views
  • 0 likes
  • 1 in conversation