Replies: 2 comments 2 replies
-
Hm, interesting. To understand the assumptions, where's that formula from? I think there is a small bug in your code - to get the distribution of mean coalescence times for a randomly chosen pair, you should be doing
(i.e., without the |
Beta Was this translation helpful? Give feedback.
2 replies
-
No, unfortunately the plot still looks the same and I could not find the problem. I would appreciate any help very much. Many thanks in advance! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I was trying to compare the formula for the mean coalescence time for the island model
(2*d*N + (d-1)*(d-1)/(2*m*d))
with the mean_coalescence_time() from msprime. I wanted to plot their difference for different migration rates. The formula for the island model was derived under the condition that m is small, which would mean that it has to perform better for small m. But my code gives me exactly the opposite picture:The outcome is the following plot:
I would appreciate any hints on what I did wrong
many thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions