Closed ghost closed 7 years ago
Good catch! That should be fixed now. Thanks!
On Tue, Feb 21, 2017 at 11:05 AM, Khirod Kant Naik <notifications@github.com
wrote:
Hi, I noticed that in 7th cell when we are plotting the pmf, pmf instance should be updated in 6th cell. Not the hist instance.
n = hist.Total() pmf = hist.Copy() for x, freq in hist.Items(): pmf[x] = freq / n
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/AllenDowney/ThinkStats2/issues/63, or mute the thread https://github.com/notifications/unsubscribe-auth/ABy37QgbSVljS1WFKADH_2-l_KJ77qO1ks5rewtbgaJpZM4MHgwG .
Hi, I noticed that in 7th cell when we are plotting the pmf, pmf instance should be updated in 6th cell. Not the hist instance.