Statistical Rethinking Ch 3 Q1 Code / observed = data errors / beginner question

Thank you, your solution does fix the problem! When I see a lot of Bernoulli trials my mind immediately goes to the binomial distribution so I like your explanation of “what question am I asking the data” and am going to have to get in the mindset of being granular about that. Also good explanation.

1 Like