Fixed a small error in the notes for Thursday

If you’ve downloaded the book version of the notes or downloaded the PDF version of the notes for Thursday, you’ll find that there’s an error in the Stan code used to illustrate Bayesian inference for allele frequencies. The line that reads

p ~ dunif(0.0, 1.0);

should read

p ~ uniform(0.0, 1.0);

Sorry about that. I’ve corrected both the PDF and the HTML versions of the notes here. The book version of notes will include the correction after the semester is over (because I’m likely to find other errors that I want to correct).

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.