Let the posterior probability of imputed genotypes be πi=(πi0, πi1, πi2) for subject i, and the expected dosage for the genotype counts of the ith individual be E(Xi)=πi1+2πi2. Further, let p denote the population minor allele frequency. Assuming HWE, the MACH r2 is defined by