Casio FX-850P Scientific Library 116

6610

Mittelwert-Intervallschätzung (für bekannte Varianz)

LIB6610 (941 Bytes)

10 MODE8:DIM:GOSUB900:c$=CHR$(5):DEFCHR$(254)="A2A49C92A2":t$="N(,??) a<<b  ??:known"
20 CLS:PRINTt$;TAB(0);"input new data (Y/N) ?";:a$=INPUT$(1,@)
25 IFa$<>"Y" ANDa$<>"y" THEN40
30 s$="x":GOSUB"LIB0:S6020":GOSUB900
40 t=0:f=95:r=sa:IFTHENs=sg ELSEs=0
45 CLS:PRINTt$;
50 z=r:s$="n":GOSUB500:r=z
60 z=s:s$="þ":GOSUB500:s=z
80 z=t:s$="?":GOSUB500:t=z
90 CLS:PRINT"Confidence level (1-?)[%]";
95 z=f:s$="1-?":GOSUB500:f=z:IFf<0 ORf>100 THEN95
97 CLS:PRINT"N(,??)   ";f;"%";TAB(0);".....";
100 p=(1-f/100)/2:sr=0:GOSUB"LIB0:S6410":GOSUB900:IFsr THEN*
110 z=s-x*t/SQRr:GOSUB400:a=z
120 z=s+x*t/SQRr:GOSUB400:b=z
130 PRINTc$;a;"<  <";b;:a$=INPUT$(1,@):GOTO45
400 IFTHENz=ROUND(z,LOG(ABSz)-5)
410 RETURN
500 LOCATE0,1:PRINTc$;s$;"=";z;"?";:INPUT@10;z:LOCATE0,0:RETURN
900 ONERRORGOTO910:RETURN
910 IFERR=1 THENCLS:ONERRORGOTO0
920 IFERL=500 THENRESUME500
930 LOCATE0,1:PRINTc$;"not found";:z$=INPUT$(1,@):RESUME20

Generated by (c) Casio FX-850P/FX-880P Notepad 2.02

(c) by mani.becker@web.de - http://blog.manib.bplaced.net