Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typo in formula for Wright-Fisher Model #67

Open
andieich opened this issue Nov 3, 2023 · 2 comments
Open

Typo in formula for Wright-Fisher Model #67

andieich opened this issue Nov 3, 2023 · 2 comments

Comments

@andieich
Copy link

andieich commented Nov 3, 2023

Hi,
I think that there might be a typo in your Introduction to the Wright-Fisher Model (which is very helpful, thanks for that!). If I understood it correctly, your formula:

$$X_{t} \mid X_{t-1} = x_{t-1} \sim Binomial(n = 2N, p = \frac{x_{t-1}}{2N})$$

should give the probability for $x_{t}$ and not $x_{t-1}$ and should therefore be:

$$X_{t} \mid X_{t-1} = x_{t} \sim Binomial(n = 2N, p = \frac{x_{t-1}}{2N})$$

Is this correct?

@stephens999
Copy link
Owner

thanks for the suggestion! The original is correct. The conditioning event is X_{t-1}=x_{t-1}. Maybe it would help you if I write
X_t | (X_{t-1}=x_{t-1})
but the extra () are not usually used in this context and make the notation a bit busy.

@andieich
Copy link
Author

aaah, now I get it, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants