Closed alecshaw closed 2 years ago
fixed; thanks for catching these.
Thanks for making the fix. Would you prefer that further typos be filed under a new issue or would you like to reopen this issue?
As mentioned earlier, if there is only one trial, then instead of the binomial distribution, we have a Bernoulli distribution. For example, if we have 10 observations from a Bernoulli distribution, where the probability of success if 0.5, we can simulate data as follows using the function rbern from the package extraDistr.
if > is
Thanks; this is also fixed now. You can open new issues for each typo/mistake. I will react to it either way :).
I've added your name to the acknowledgements. Thanks again for catching these mistakes, much appreciated.
If there is anything that is unclear, don't hesitate to post a complaint, I/we will try to make things clearer.
1.4 Discrete random variables: An example using the binomial distribution https://vasishth.github.io/bayescogsci/book/sec-binomialcloze.html#sec:binomialcloze
vinomial > binomial
secone > second