On 04.11.2022, at 09:46, Dang Ngoc Chan, Christophe <christophe.d...@sidel.com> wrote:
Dear Christophe et Stéphane, great many thanks for the patient explanations. This way I was able to compute acceptance limits in the large-scale manufacture of small objects that are difficult to find in textbooks. Greetings Heinz ... I am certain that you can generate a much more efficient Scilab code. N=10^(3:9);
def=[300 100 30 10 3 1 0];
for i=1:7;
NN=N(i);
for j=1:7;
defects=def(j);
A(i,j)=cdfbet("XY", defects+1, NN+1-defects, .95,.05);
end;
plot2d(1e9,1,logflag='ll');xgrid();
plot(N', A,'--','LineWidth',3);
a=gca();a.font_size=3;
legend ('n=','300 defects','100 defects','30 defects','10 defects','3 defects','1 defect','0 defects');
xlabel('N = number of particles investiged','fontsize',3);
ylabel('one-sided upper 95% defect fraction','fontsize',3);
title ('Acceptance limit of defect fraction n/N at 95% confidence','fontsize',4); |
Acceptance limit of defect fraction n over N at 95% confidence.pdf
Description: Adobe PDF document
______________ Dr Heinz Nabielek Schüttelstrasse 77A/11 A-1020 Wien, Österreich Tel +43 1 276 56 13 cell +43 677 616 349 22 heinznabie...@me.com |
_______________________________________________ users mailing list - users@lists.scilab.org Click here to unsubscribe: <mailto:users-unsubscr...@lists.scilab.org> http://lists.scilab.org/mailman/listinfo/users