Fundamentals of Probability and Statistics for Engineers

(John Hannent) #1

Let us note that D is a statistic since it is a function of Ni, which are, in turn,
fu nctions of sample X 1 ,...,Xn. The distribution of statistic D is given in
Theorem 10.1, attributable to Pearson (1900).


Theorem 10. 1: assuming that hypothesis H is true, the distribution of D
defined by Equation (10.4) approaches a chi-squared distribution with (k 1)
degrees of freedom as n. Its pdf is given by [see Equation (7.67)]


Note that this distribution is independent of the hypothesized distribution.


Proof of Theorem 10.1:The complete proof, which can be found in Cramer
(1946) and in other advanced texts in statistics, will not be attempted here. To
demonstrate its plausibility, we only sketch the proof for the k 2 case.
For k 2, random variable D is


Now, recalling that N 1 is the number of, say, successes in n trials, with p 1 being
the probability of success, it is a binomial random variable with
and var if hypothesis H is true. As n in cr eases, we have seen
in Chapter 7 that N 1 approaches a normal distribution by virtue of the central
limit theorem (Section 7.2.1). Hence, the distribution of random variable U,
defined by


approaches N(0,1) as n. Since


318 Fundamentals of Probability and Statistics for Engineers




!1

fD…d†ˆ

2 …k^1 †=^2  k 21

hi 1
d…k^3 †=^2 ed=^2 ; ford 0 ;

0 ; elsewhere.

8

<

:

… 10 : 5 †

ˆ

ˆ


…N 1 np 1 †^2
np 1

‡

…N 2 np 2 †^2
np 2

:

SinceN 1 ‡N 2 ˆn, andp 1 ‡p 2 ˆ1, we can write



…N 1 np 1 †^2
np 1

‡

‰nN 1 n… 1 p 1 †Š^2
np 2

ˆ…N 1 np 1 †^2

1

np 1

‡

1

np 2



ˆ

…N 1 np 1 †^2
np 1 … 1 p 1 †

:

… 10 : 6 †

EfN 1 gˆnp 1
fN 1 gˆnp 1 -1p 1 )


N 1 np 1
‰np 1 … 1 p 1 †Š^1 =^2

;

!1

DˆU^2 ;

Free download pdf