vasishth / bayescogsci

Draft of book entitled An Introduction to Bayesian Data Analysis for Cognitive Science by Nicenboim, Schad, Vasishth
100 stars 27 forks source link

Section 3.1.1 duplicated code #22

Closed Patrick-Wen closed 2 years ago

Patrick-Wen commented 2 years ago

In section 3.3.1, the code as_draws_df(fit_press)$b_Intercept %>% mean() appeared twice. I am not sure if as_draws_df(fit_press)$b_Intercept %>% sd() is intended when the code appeared for the 2nd time.

bnicenboim commented 2 years ago

Thanks! Good catch, should I give you credit as "Patrick Wen"?

Patrick-Wen commented 2 years ago

That would be fine.

I have been enjoying reading the book recently, from which I learned so much. Happy to help improve it. Thank you.

Patrick Wen

On Thu, Feb 24, 2022, 4:43 PM Bruno Nicenboim @.***> wrote:

Thanks! Good catch, should I give you credit as "Patrick Wen"?

— Reply to this email directly, view it on GitHub https://github.com/vasishth/bayescogsci/issues/22#issuecomment-1049618865, or unsubscribe https://github.com/notifications/unsubscribe-auth/AX5GIDKE4VEAWF7YXB2N4QLU4XVTNANCNFSM5PERY63Q . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

vasishth commented 2 years ago

Thank you Patrick. These corrections are greatly appreciated.