Skip to content

Commit 7e1f03b

Browse files
Merge pull request CamDavidsonPilon#56 from ahane/errata-ahane
I think we draw variates and not variables
2 parents 9d7da0a + 9cea0d4 commit 7e1f03b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Chapter3_MCMC/IntroMCMC.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@
318318
"This dataset is a good example of the data-generation modeling technique from last chapter. We can propose *how* the data might have been created. I suggest the following data generation algorithm: \n",
319319
"\n",
320320
"1. For each data point, choose cluster 1 with probability $p$, else choose cluster 2. \n",
321-
"2. Draw a random variable from a Normal distribution with parameters $\\mu_i$ and $\\sigma_i$ where $i$ was chosen in step 1.\n",
321+
"2. Draw a random variate from a Normal distribution with parameters $\\mu_i$ and $\\sigma_i$ where $i$ was chosen in step 1.\n",
322322
"3. Repeat.\n",
323323
"\n",
324324
"This algorithm would create a similar effect as the observed dataset, so we choose this as our model. Of course, we do not know $p$ or the parameters of the Normal distributions. Hence we must infer, or *learn*, these unknowns.\n",

0 commit comments

Comments
 (0)