The Hardy-Weinberg principle and estimating allele frequencies
I'm reproducing the links about binomial sampling first, in case we don't get to it on Tuesday, but you'll also find links for estimating allele frequencies in the ABO blood group. We will definitely cover both of these examples today. As I'll explain in lecture, you don't need to worry about running the Stan code. Unlike in past years, I won't be asking you to write any on your own. I'm providing it simply to give you a better idea of what's going on "under the hood".
The EM algorithm for estimating allele frequencies
Estimating allele frequencies with the EM algorithmBayesian estimates of allele frequencies
- One locus, two alleles:
- ABO blood group alleles: