3. The members of a community are classified by Blood type:
0 A B AB Total 121 120 79 33 353
Theory has it that the probabilities of those types depends on gene frequency parameters r,p,q,where r+p+q=1 and P("O")=r2,P("A")=p2+2pr,P("B") =q2+2qr,and P(" AB") = 2pq. Using numerical methods (that is, a method such as that described in Chapter 5 of Stigler's notes) we can find the MLEs of r, P, q; they are 0.580, 0.246, and 0.173 [you may use these values as the MLEs without verifying that they are]. Test if the community fits the theory