Professional Documents
Culture Documents
Ass 5 Coding
Ass 5 Coding
SET C1
7:19/3
END
SET C2
9:21/3
END
SET C3
2 8 14 9 1
END
LET C4=(C1+C2)/2
NAME C1 'LCL' C2 'UCL' C3 'FREQ' C4 'M.P (X)'
LET C5=C3*C4
LET C6=C3*(C4**2)
LET C7=C3*(C4**3)
LET C8=C3*(C4**4)
NAME C5 'fx' C6 'fx^2' C7 'fx^3' C8 'fx^4'
LET K1= SUM (C3*C4)/SUM (C3)
LET C9=C3*(C4-K1)
LET C10=C3*((C4-K1)**2)
LET C11=C3*((C4-K1)**3)
LET C12=C3*((C4-K1)**4)
NAME C9 'f(x-A.M)' C10 'f(x-A.M)^2'
NAME C11 'f(x-A.M)^3' C12 'f(x-A.M)^4'
LET K2= SUM (C5)/SUM (C3)
LET K3= SUM (C6)/SUM (C3)
LET K4= SUM (C7)/SUM (C3)
LET K5= SUM (C8)/SUM (C3)
LET K6= SUM (C9)/SUM (C3)
LET K7= SUM (C10)/SUM (C3)
LET K8= SUM (C11)/SUM (C3)
LET K9= SUM (C12)/SUM (C3)
NAME K2 '1st Moment about Origin'
NAME K3 '2nd Moment about Origin'
NAME K4 '3rd Moment about Origin'
NAME K5 '4th Moment about Origin'
NAME K6 '1st Moment about Mean'
NAME K7 '2nd Moment about Mean'
NAME K8 '3rd Moment about Mean'
NAME K9 '4th Moment about Mean')
LET K10= K3-(K2**2)
LET K11= K4-(3*K3*K2)+(2*(K2**3))
LET K12= K5-(4*K4*K2)+(6*K3*(K2**2))-(3*(K2**4))
LET K13= K11/K10**1.5
LET K14= K12/(K10**2)
NAME K13 'SKEWNESS='
NAME K14 'KURTOSIS='
PRINT K2 K3 K4 K5
Data Display
1st
2nd
3rd
4th
Moment
Moment
Moment
Moment
about
about
about
about
Origin
Origin
Origin
Origin
13.9118
201.206
3008.97
46318.6
Data Display
1st
2nd
3rd
4th
Moment
Moment
Moment
Moment
about
about
about
about
Mean
Mean
Mean
Mean
Data Display
SKEWNESS=
KURTOSIS=
-0.166139
2.60590
-0.000000000
7.66869
-3.52819
153.249