Skip to main content
. 2009 Jan 21;41(1):15. doi: 10.1186/1297-9686-41-15

Table 2.

Verification of analytic theory via MATLAB simulation.

Allele frequency (p) Fitness dominance (k) Sample size (n) Significance (α) Expected power (1-β) Observed power (simulated)
0.5 0.9 5537 0.05 0.5 0.4942
0.5 0.9 15148 0.05 0.9 0.9003
0.1 0.9 39944 0.05 0.5 0.4947
0.1 0.9 109222 0.05 0.9 0.8971

Sample sizes were obtained from equations (11) and (12); for each parameter set, true post-selection genotype frequencies were obtained from equations (5), (6), and (7); sample genotype counts were then generated via multinomial sampling, and chi-square tests were performed; MATLAB simulations were run 10000 times for each parameter set, and the proportion of tests that resulted in detectable DHW were recorded.