{"id":503,"date":"2021-08-30T20:30:48","date_gmt":"2021-08-30T20:30:48","guid":{"rendered":"http:\/\/darwin.eeb.uconn.edu\/uncommon-ground\/eeb348\/?p=503"},"modified":"2021-08-30T20:30:48","modified_gmt":"2021-08-30T20:30:48","slug":"fixed-a-small-error-in-the-notes-for-thursday","status":"publish","type":"post","link":"https:\/\/darwin.eeb.uconn.edu\/uncommon-ground\/eeb348\/2021\/08\/30\/fixed-a-small-error-in-the-notes-for-thursday\/","title":{"rendered":"Fixed a small error in the notes for Thursday"},"content":{"rendered":"\n<p class=\"has-drop-cap\">If you&#8217;ve downloaded the <a href=\"https:\/\/figshare.com\/articles\/book\/Lecture_notes_in_population_genetics\/100687\" data-type=\"URL\" data-id=\"https:\/\/figshare.com\/articles\/book\/Lecture_notes_in_population_genetics\/100687\">book version of the notes<\/a> or downloaded the <a href=\"http:\/\/darwin.eeb.uconn.edu\/eeb348-notes\/hardy-weinberg.pdf\" data-type=\"URL\" data-id=\"http:\/\/darwin.eeb.uconn.edu\/eeb348-notes\/hardy-weinberg.pdf\">PDF version of the notes<\/a> for Thursday, you&#8217;ll find that there&#8217;s an error in the <tt>Stan<\/tt> code used to illustrate Bayesian inference for allele frequencies. The line that reads <\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">p ~ dunif(0.0, 1.0);<\/pre>\n\n\n\n<p>should read<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">p ~ uniform(0.0, 1.0);<\/pre>\n\n\n\n<p>Sorry about that. I&#8217;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&#8217;m likely to find other errors that I want to correct).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you&#8217;ve downloaded the book version of the notes or downloaded the PDF version of the notes for Thursday, you&#8217;ll find that there&#8217;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&#8217;ve &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/darwin.eeb.uconn.edu\/uncommon-ground\/eeb348\/2021\/08\/30\/fixed-a-small-error-in-the-notes-for-thursday\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Fixed a small error in the notes for Thursday&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-503","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/darwin.eeb.uconn.edu\/uncommon-ground\/eeb348\/wp-json\/wp\/v2\/posts\/503","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/darwin.eeb.uconn.edu\/uncommon-ground\/eeb348\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/darwin.eeb.uconn.edu\/uncommon-ground\/eeb348\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/darwin.eeb.uconn.edu\/uncommon-ground\/eeb348\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/darwin.eeb.uconn.edu\/uncommon-ground\/eeb348\/wp-json\/wp\/v2\/comments?post=503"}],"version-history":[{"count":1,"href":"https:\/\/darwin.eeb.uconn.edu\/uncommon-ground\/eeb348\/wp-json\/wp\/v2\/posts\/503\/revisions"}],"predecessor-version":[{"id":504,"href":"https:\/\/darwin.eeb.uconn.edu\/uncommon-ground\/eeb348\/wp-json\/wp\/v2\/posts\/503\/revisions\/504"}],"wp:attachment":[{"href":"https:\/\/darwin.eeb.uconn.edu\/uncommon-ground\/eeb348\/wp-json\/wp\/v2\/media?parent=503"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/darwin.eeb.uconn.edu\/uncommon-ground\/eeb348\/wp-json\/wp\/v2\/categories?post=503"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/darwin.eeb.uconn.edu\/uncommon-ground\/eeb348\/wp-json\/wp\/v2\/tags?post=503"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}