Feb. 8, 2013, 2:59 p.m. by Rosalind Team
Topics: Probability
Reaching Population Equilibrium
In “The Wright-Fisher Model of Genetic Drift”, we introduced the Wright-Fisher model of genetic drift. Although the effects of genetic drift are inevitable, we should be able to quantify how many alleles for a given trait will remain in the next generation.
Intuitively, because Wright-Fisher demands that we randomly and independently select alleles for the next generation based off the allele frequency of the present generation, we would hope that on average this frequency would illustrate a stabilizing effect: that is, the expected frequency in the next generation should equal the allele frequency in the current generation. In this problem, we will see if the mathematics matches our intuition.
In “The Wright-Fisher Model of Genetic Drift”, we generalized the concept of a binomial random variable
For example, in the case of unweighted coin flips (i.e.,
Given: A positive integer
Return: An array
17 0.1 0.2 0.3
1.7 3.4 5.1