Skip to content

Conversation

@Gullumluvl
Copy link

Dear Angsd authors,

I believe the formula for the Watterson estimator of theta should be fixed in the doc.

I got confused when reading it, and also by the formula written in Korneliussen et al. 2013.

The actual computation is doing the right thing though, here is the bit that matters:

aConst += 1.0/i;

so my modification is just about the documentation.

Best,

… doc.

Now corresponds to what the code actually does (in saf2theta),
and to what the literature says it should be.
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

Successfully merging this pull request may close these issues.

1 participant