For convenience, the theoretical numbers of occurrences as predicted by the
model are given in the fourth column of Table 10.2, which, when compared
with the value in the second column, give a measure of goodness of fit of the
model to the data. Column 5 (n^2 i /npi) is included in order to facilitate the
calculation of d. Thus, from Equation (10.7) we have
Now, k 4. From Table A.5 for the^2 distribution with three degrees of
freedom, we find
Since d^2 , we accept at the 5% significance level the hypothesis that the
observed data represent a sample from an exponential distribution with
Example 10.2.Problem: a six-year accident record of 7842 California drivers
is given in Table 8.2. On the basis of these sample values, test the hypothesis
that X, the number of accidents in six years per driver, is Poisson-distributed
with mean rate 0 08 per year at the 1% significance level.
Answer: since X is discrete, a natural choice of intervals Ai is those centered
around the discrete values, as indicated in the first column of Table 10.3. Note
that interval x > 5 would be combined with 4 < x 5 if number n 7 were less
than 5.
The hypothesized distribution for X is
Table 10.2 Table for^2 test for Example 10.1
Interval, Ai ni pi npi n^2 i /npi
t < 100 121 0.39 117 125.1
100 t < 200 78 0.24 72 84.5
200 t < 300 43 0.15 45 41.1
300 t 58 0.22 66 51.0
300 1.00 300 301.7
Note: ni, observed number of occurrences; pi,
theoretical P(Ai).
Model Verification 321
d
Xk
i 1
n^2 i
npi
n 301 : 7 300 1 : 7 :
^23 ; 0 : 05 7 : 815 :
<
pX
x
txet
x!
0 : 48 xe^0 :^48
x!
; x 0 ; 1 ; 2 ;...:
10 : 9
3,0 05:
0 005..