Skip to main content

Table 2 Verification of analytic theory via MATLAB simulation.

From: Detecting selection-induced departures from Hardy-Weinberg proportions

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

  1. 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.