Skip to content

Commit 98a19d2

Browse files
Merge pull request CamDavidsonPilon#223 from RoyalTS/master
changed slightly confusing phrase
2 parents f5a395b + 29cdc64 commit 98a19d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Chapter3_MCMC/IntroMCMC.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -992,7 +992,7 @@
992992
"\n",
993993
"The MAP can also be used as a solution to the inference problem, as mathematically it is the *most likely* value for the unknowns. But as mentioned earlier in this chapter, this location ignores the uncertainty and doesn't return a distribution.\n",
994994
"\n",
995-
"Typically, it is always a good idea, and rarely a bad idea, to prepend your call to `mcmc` with a call to `MAP(model).fit()`. The intermediate call to `fit` is hardly computationally intensive, and will save you time later due to a shorter burn-in period. \n",
995+
"Most often it is a good idea, and rarely a bad idea, to prepend your call to `mcmc` with a call to `MAP(model).fit()`. The intermediate call to `fit` is hardly computationally intensive, and will save you time later due to a shorter burn-in period. \n",
996996
"\n",
997997
"#### Speaking of the burn-in period\n",
998998
"\n",
@@ -1280,7 +1280,7 @@
12801280
"\n",
12811281
"#### Priors\n",
12821282
"\n",
1283-
"If the priors are poorly chosen, the MCMC algorithm may not converge, or atleast have difficulty converging. Consider what may happen if the prior chosen does not even contain the true parameter: the prior assigns 0 probability to the unknown, hence the posterior will assign 0 probability as well. This can cause pathological results.\n",
1283+
"If the priors are poorly chosen, the MCMC algorithm may not converge, or at least have difficulty converging. Consider what may happen if the prior chosen does not even contain the true parameter: the prior assigns 0 probability to the unknown, hence the posterior will assign 0 probability as well. This can cause pathological results.\n",
12841284
"\n",
12851285
"For this reason, it is best to carefully choose the priors. Often, lack of covergence or evidence of samples crowding to boundaries implies something is wrong with the chosen priors (see *Folk Theorem of Statistical Computing* below). \n",
12861286
"\n",

0 commit comments

Comments
 (0)