data ball;
input x @@;
cards;
15.0 15.8 15.2 15.1 15.9 14.7 14.8 15.5 15.6 15.3 15.1 15.3 15.0
15.6 15.7 15.8 14.5 14.2 14.9 14.9 15.2 15.0 15.3 15.6 15.1 14.9
14.2 14.6 15.8 15.2 15.9 15.2 15.0 14.9 14.8 14.5 15.1 15.5 15.5
15.1 15.1 15.0 15.3 14.7 14.5 15.5 15.0 14.7 14.6 14.2
;
proc capability data=ball vardef=n;
spec ls1=14.35 cleft=yellow llsl=2 target=15.1 pleft=11 ltarget=1
usl=15.85 cright=black lusl=3 wusl=2 pright=rl;
histogram x/ normal(mu=est sigma=est color=black) outfit=outfit
endpoints=14.05 to 16.15 by 0.3 barlabel=count cfill=white;
cdfplot x/ normal(mu=est sigma=est);
run;
proc print data=outfit; run;
希望大家可以帮帮忙哦。