Skip to content

Explain r_break = math.log(2) #2111

Answered by petrelharp
richard-Hobart asked this question in Q&A
Discussion options

You must be logged in to vote

I think the confusion comes from what r is? For msprime, r is not a probability-per-generation, but an (continuous-time) rate. So, the number of crossovers in one unit of time is Poisson with mean r. So, the probability of there being at least one crossover in one unit of time is 1 - exp(-r), which is approximately r - r^2/2. For very small r the difference between "r is the probability of one crossover in one unit of time" and "there are a Poisson(r) number of crossovers per unit time" is neglegible, but when we want the probability of crossover to be 1/2, then, well, it turns out we want r = log(2).

There's a lengthier discussion of related things (although the detalis are different) in…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by richard-Hobart
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants