Download as xlsx, pdf, or txt
Download as xlsx, pdf, or txt
You are on page 1of 14

Chisquare Goodness of fit for Poisson Distributio

# of calls in a 5-minute interval

5 Bin Frequency xf
6 0 1 0
10 1 3 3
8 2 7 14
5 3 17 51
3 4 13 52
6 5 19 95
7 6 14 84
0 7 9 63
7 8 8 64
6 9 5 45
3 10 3 30
9 11 1 11
3 More 0
4 100 512
5 Mean= 5.12
10
4
8
5
7
1
7
4
3
9
6
1
6
3
5
2
3
4
4
5
8
6
1
3
7
3
8
5
5
8
5
2
4
5
9
5
6
3
8
3
7
4
4
7
3
2
8
2
5
4
3
6
2
5
5
7
4
2
6
7
5
3
5
3
4
6
5
10
9
6
4
2
5
3
6
4
3
11
9
6
3
8
5
6
512 0
1
2
3
4
5
6
7
8
9
10
11
oisson Distribution

((obs-
exp freq exp)^2)/
exp freq >5 freq exp
0.5976022895
3.0597237222
7.8328927289 11.4902 11 0.020915
13.3681369241 13.3681 17 0.986707 Histogram
17.1112152628 17.1112 13 0.987779 20

17.5218844291 17.5219 19 0.124691 15

14.9520080462 14.952 14 0.060615 10

Frequency
Frequen
10.9363258852 10.9363 9 0.342835 5
6.9992485665 6.99925 8 0.143087 0
3.9817947401 7.62096 9 0.249541 0 2 4 6 8 10 e
or
M
2.0386789069
Bin
1.6004884985

100 chsq stat= 2.91617


df=6 5% chisq critical value= 12.592
ogram

Frequency

8 10 e
or
M
Chisqaure Goodness of fit for Exponential Distribution
Inter-
arrival Cum Exp
Time Number upper Mid- prob Cum Exp Exp Freq
(min) of Calls limit points xf (1) Freq Freq >5 Freq
<1 32 1 0.5 16 0.3254 32.544 32.544 32.54441 32
1-3 40 3 2 80 0.6931 69.306 36.762 36.76157 40
3-5 16 5 4 64 0.8603 86.033 16.727 16.72745 16
5-7 6 7 6 36 0.9364 93.645 7.6114 7.61142 6
7-9 3 9 8 24 0.9711 97.108 3.4634 6.355145 6
9-11 1 11 10 10 0.9868 98.684 1.5759
> 11 2- 12 24 1 100 1.3158
100 254 100 chsq stat=
mean = 2.54

KS stat= 0.0269
5% KS Critical val
Emperical Absolute
((obs- Cumulative Distribution Difference
exp)^2)/exp Frequency Function (2) (1)-(2)
0.009107137 32 0.32 0.00544414
0.285282971 72 0.72 0.02694019
0.031636011 88 0.88 0.01966565
0.341155116 94 0.94 0.00355145
0.01984656 97 0.97 0.00108246
98 0.98 0.00684178
100 1 0
0.687027794
df=3 5% chsq critical value= 7.8147

0.136
Chisqaure Goodness of fit for Normal Distribution

(upper
Frequency=N limit -
Income umber of Upper Mid Mean)/S cum Exp
Group Households limit point xf (X^2)*f D prob (1) Freq
<38 3 38 37 111 4107 -2.36643 0.00898 1.79608
38-40 2 40 39 78 3042 -1.98474 0.023586 2.92122
40-42 7 42 41 287 11767 -1.60306 0.05446 6.17479
42-44 13 44 43 559 24037 -1.22138 0.110971 11.3021
44-46 14 46 45 630 28350 -0.8397 0.200538 17.9135
46-48 24 48 47 1128 53016 -0.45802 0.32347 24.5863
48-50 29 50 49 1421 69629 -0.07634 0.469576 29.2212
50-52 27 52 51 1377 70227 0.305345 0.619948 30.0745
52-54 32 54 53 1696 89888 0.687027 0.753967 26.8037
54-56 20 56 55 1100 60500 1.068708 0.857399 20.6865
56-58 15 58 57 855 48735 1.45039 0.926525 13.8251
58-60 10 60 59 590 34810 1.832072 0.96653 8.0009
60-62 3 62 61 183 11163 2.213753 0.986577 4.0095
62-64 0 64 63 0 0 2.595435 0.995276 1.73986
>64 1- 65 65 4225 1 0.94471
200 10080 513496 200
Mean= 50.4
Variance 27.4573
SD= 5.23997
((obs- Emperical Absolute
Exp Freq exp)^2)/e Cumulative Distribution Difference
>5 Freq xp Frequency Function (2) (1)-(2)
3 0.015 0.00601961
5 0.025 0.00141353
10.8921 12 0.1126946 12 0.06 0.00553958
11.3021 13 0.2550748 25 0.125 0.0140291
17.9135 14 0.8549739 39 0.195 0.00553846
24.5863 24 0.0139797 63 0.315 0.0084698
29.2212 29 0.0016744 92 0.46 0.00957577
30.0745 27 0.3143094 119 0.595 0.02494839
26.8037 32 1.0073644 151 0.755 0.00103291
20.6865 20 0.0227804 171 0.855 0.00239946
13.8251 15 0.0998416 186 0.93 0.0034749
8.0009 10 0.4994916 196 0.98 0.01347038
6.69408 4 1.0842493 199 0.995 0.00842288
199 0.995 0.00027643
200 1 0
chsq stat= 4.266434
df= 8 5% chsq critical value= 15.5073131

KS stat = 0.024948
5% KS Critical value= 0.096166522
K-S Test For Uniform Distribution

Random No.
arranged in Empirical Theoretical Absolute
increasing Distribution Distribution Difference
Random No. order (1) Function (2) Function (3) (2) - (3)
0.655507065 0.0182500687 0.1 0.0182500687 0.08174993
0.0182500687 0.038575396 0.2 0.038575396 0.1614246
0.5444196905 0.2081057161 0.3 0.2081057161 0.09189428
0.2081057161 0.3729972228 0.4 0.3729972228 0.02700278
0.7343058565 0.4207281716 0.5 0.4207281716 0.07927183
0.3729972228 0.5444196905 0.6 0.5444196905 0.05558031
0.9980773339 0.655507065 0.7 0.655507065 0.04449293
0.4207281716 0.7343058565 0.8 0.7343058565 0.06569414
0.9948728904 0.9948728904 0.9 0.9948728904 0.09487289
0.038575396 0.9980773339 1 0.9980773339 0.00192267
KS statistic = 0.1614246
5% Critical value= 0.41
Machine 1 Machine 2 Machine 3 Machine 4
4.05 3.99 3.97 4
4.01 4.02 3.98 4.02
4.02 4.01 3.97 3.99
4.04 3.99 3.95 4.01
4 4
4

Anova: Single Factor

SUMMARY
Groups Count Sum Average Variance
Machine 1 4 16.12 4.03 0.000333
Machine 2 6 24.01 4.001667 0.000137
Machine 3 5 19.87 3.974 0.00033
Machine 4 4 16.02 4.005 0.000167

ANOVA
Source of Variation SS df MS F
Between Groups 0.007075614 3 0.002359 10.0984
Within Groups 0.0035033333 15 0.000234

Total 0.0105789474 18
P-value F crit
0.000685 3.287382
NDA UPA Others Total
Male 200 150 50 400
Female 250 300 50 600
Total 450 450 100 1000

You might also like