Professional Documents
Culture Documents
Exp 28
Exp 28
EXPERIMENT 28
AIM: To fit a Poisson distribution for the given data and perform goodness of fit test.
EXPERIMENT: It is believed that the present generations of LSR students do not prefer travelling by DTC
buses due to variety of reasons. Therefore, the chance that you find students travelling by DTC bus is
small and the chance that they travel by DTC bus frequently is rare. In order to verify the above
statements, data was collected on 46 students of statistics discipline. Further question ‘on how many
days did you travel by DTC bus in the past one week? The responses are as follows-
4,1,7,0,1,0,1,1,0,0,0,1,2,3,0,1,2,0,1,3,4,6,0,0,1,2,0,1,2,0,1,1,1,1,0,0,0,0,0,0,3,4,0,1,5,0
THEORY:
As travelling by DTC bus appears to be an event with very small probability, therefore Poisson
distribution appears to be a good fit for this data set.
CALCULATIONS:
WEIGHT BY fi.
FREQUENCIES VARIABLES=Xi
/STATISTICS=MEAN
/ORDER=ANALYSIS.
COMPUTE Prob=PDF.POISSON(xi,1.33).
EXECUTE.
COMPUTE Exp_freq=46*Prob.
EXECUTE.
NPAR TESTS
/CHISQUARE=xi
/EXPECTED=12.166 16.1807 10.7602 4.7703 1.5861 0.4219 0.0935 0.0178
/MISSING ANALYSIS.
Null hypothesis, H0 : Poisson distribution is a good fit for the given data
Alternate hypothesis, H0 : Poisson distribution is not a good fit for the given data
Table 28.1
Table 28.2
Table 28.4
Table 28.5
p-value for goodness of fit test is 0.0001. Since p-value < α (0.05), we reject H 0 at 5% level of significance
and it may be concluded that Poisson distribution is not a good fit for the given data. Therefore, DTC
buses are not as rare as we thought.
Graph 28.1
Graph 28.1 shows the observed and expected frequencies and we can see that they are different.