6
Label11.Caption:='ek: 6';
end;
3: begin
sig:=strtoint(Frame21.Edit1.Text);
ers:=ers+1;
LamT.Caption:='a1: '+floattostrf(ers/sig,ffGeneral,3,3);
M2T.Caption:='m2: '+floattostrf(ers/sqr(sig),ffGeneral,3,3);
M3T.Caption:='m3: '+floattostrf(2*ers/power(sig,3),ffGeneral,3,3);
M4T.Caption:='m4: '+floattostrf(3*ers*(ers+2)/power(sig,4),ffGeneral,3,3);
Label10.Caption:='as: '+floattostrf(2/sqrt(ers),ffGeneral,3,3);
Label11.Caption:='ek: '+floattostrf(6/sig,ffGeneral,3,3);
end;
4: begin
for i:=1 to ll do xs:=xs+pm[i]/lm[i];
LamT.Caption:='a1: '+floattostrf(xs,ffGeneral,3,3);
for i:=1 to ll do mm2:=mm2+pm[i]/sqr(lm[i]);
m2:=2*mm2-sqr(xs);
M2T.Caption:='m2: '+floattostrf(m2,ffGeneral,3,3);
for i:=1 to ll do mm3:=mm3+pm[i]/power(lm[i],3);
m3:=6*(mm3-xs*mm2)+2*sqr(xs);
M3T.Caption:='m3: '+floattostrf(m3,ffGeneral,3,3);
for i:=1 to ll do m4:=m4+pm[i]/power(lm[i],4);
m4:=24*(m4-mm3*xs)+3*sqr(xs)*(4*mm2-sqr(xs));
M4T.Caption:='m4: '+floattostrf(m4,ffGeneral,3,3);
Label10.Caption:='as: '+floattostrf(m3/power(m2,1.5),ffGeneral,3,3);
Label11.Caption:='ek: '+floattostrf(m4/power(m2,2)-3,ffGeneral,3,3);;
end;
end;
xs:=0;
m2:=0;
m3:=0;
m4:=0;
{_______nach_mom______________}
for i:=1 to n do xs:=xs+x[i];
xs:=xs/n;
lamz:=1/xs;
LamS.Caption:='a1: '+floattostrf(xs,ffGeneral,3,3);
{_______centr_mom______________}
for i:=1 to n do m2:=m2+(sqr(x[i]-xs)/n);
sig:=sqrt(abs(m2));
M2S.Caption:='m2: '+ floattostrf(m2,ffGeneral,3,3);
for i:=1 to n do m3:=m3+power((x[i]-xs),3)/n;
M3S.Caption:='m3: '+ floattostrf(m3,ffGeneral,3,3);
ass:=m3;
for i:=1 to n do m4:=m4+power((x[i]-xs),4)/n;
M4S.Caption:='m4: '+ floattostrf(m4,ffGeneral,3,3);
eks:=m4;
{_____________spec______________}
ass:=ass/power(sig,3);
Label15.Caption:='as: '+ floattostrf(ass,ffGeneral,3,3);