39.6. GOODNESS OF FIT 835

Now replace each etk√npk with the first few terms of its power series. Then the inside of ()

above becomes

p1

1+t1√np1

+

(t1√np1

)2

2!

+ · · ·+ pr

1+tr√npr

+

(tr√npr

)2

2!

+O(

1n3/2

)

That last term indicates that what is left over is just a lot of stuff times powers of 1n3/2 . Since

the sum of the pi is one, this yields ln(Mn) =

−∑k

tk√

pkn+n ln

 1+ p1t1√np1

+p1

(t1√np1

)2

2! + · · ·+ prtr√npr

+pr

(tr√npr

)2

2! +O(

1n3/2

)

Now ln(1+ x) = 0+ x− 12 x2 +O

(x3). Of course the x here is the material in the above

which comes after the 1. The O(x3)

terms are all O(

1n3/2

)and there are a few terms in

the x2 which are not, which are included in(

∑kpktk√npk

)2. I will retain these terms in the

following. Thus lnMn =

−∑k

tk√

pkn+n

 p1t1√np1

+p1

(t1√np1

)2

2! + · · ·+ prtr√npr

+pr

(tr√npr

)2

2!

− 12

(∑k

pktk√npk

)2+O

(1

n3/2

)

Of course this simplifies. When you multiply by the n you get ln(Mn) =

−∑k

tk√

pkn+

 √n√

p1t1 +(t1)

2

2 + · · ·+√

n√

prtr +(tr)2

2

− 12

(n∑k

pktk√npk

)2+O

(1

n1/2

) 

=

 (t1)2

2+ · · ·+ (tr)

2

2− 1

2

(∑k

√pktk

)2

+O(

1n1/2

)Therefore,

Mn = exp

12

∑k

t2k −

(∑k

√pktk

)2eO(1/

√n)

For large n this is very close to

Mn = exp

12

∑k

t2k −

(∑k

√pktk

)2

which is of the form exp( 1

2tT At)

where t ∈ Rr. What is A?

∑k

t2k −

(∑k

√pktk

)2

= ∑k

t2k −∑

i, j

√pi p jtit j

39.6. GOODNESS OF FIT 835teNow replace each ev"?’« with the first few terms of its power series. Then the inside of ()above becomes2 2ral trn_, (a) __, (He)1 Le 1 Avr) 140pip ie /MP| + 2! Feet Pr | IS ,/NP; + 2! + 3/2That last term indicates that what is left over is just a lot of stuff times powers of ar Sincethe sum of the p; is one, this yields In(M,,) =Lal2Pit 2m), “+t Prtr—\/pen+nin er (oe ; Virk thge) + 0( an)Now In(1+x) =0+x—- 5x7 + O(x >), Of course the x here is the material in the abovewhich comes after the 1. The O(x*) terms are all O (. 5 an) and there are a few terms in2the x” which are not, which are included in (Xe Pt . I will retain these terms in thefollowing. Thus InM,, =—Vavpentn oy at) + ai + Ge)k“1 (2) #0 GGOf course this simplifies. When you multiply by the 1 you get In(M,,) =2Vaypiti + OE +. vit Prte +~Linvpin+ —5 (nx, me)” +0(; 7)(11) (t,)> 1 != Py PSS vm) +0(s5)2ye (Eva) eOlv)k kTherefore,For large n this is very close to21M,, = exp 3 Ee (Evan)k kwhich is of the form exp (4¢7At) where t € R". What is A?2Yu - (x vi) =e -Y vriytit;k k k i,j