算法和有意思的小问题都可以。
做小组作业,活都被队友分了,我没东西可以做了,又必须做(自己也很想做)
已经用了hessain和Fisher scoring两种
If r, p, q are gene frequencies of O, A, B respectively in the population.
Given observed counts nO,nA,nB,nAB, implement a program in R to compute the maximum likelihood
estimates of p, q, r using the Fisher scoring and the Newton-Raphson methods.