From 3686e2052fa1a9bd0107240ccc6b42b35d90fe41 Mon Sep 17 00:00:00 2001 From: Donghoon Yeo Date: Thu, 20 Aug 2020 21:10:15 +0900 Subject: [PATCH] fixed typo fixed typo in eq (2) --- MCMC.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MCMC.ipynb b/MCMC.ipynb index 2ab6db3..79cc92f 100644 --- a/MCMC.ipynb +++ b/MCMC.ipynb @@ -314,10 +314,10 @@ " \n", " Equivalent to: \n", " \n", - " $\\sum_i^n -nLog(\\sigma_{new}\\sqrt{2\\pi})-\\dfrac{(d_i-\\mu_{obs})^2}{2\\sigma_{new}^2} + Log(prior(\\mu_{obs},\\sigma_{new})) \\quad > $\n", + " $\\sum_i^n (-Log(\\sigma_{new}\\sqrt{2\\pi})-\\dfrac{(d_i-\\mu_{obs})^2}{2\\sigma_{new}^2} + Log(prior(\\mu_{obs},\\sigma_{new}))) \\quad > $\n", " \n", " $ \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad(2)$\n", - " $ \\quad \\quad \\quad \\quad \\quad \\sum_i^n -nLog(\\sigma_{current}\\sqrt{2\\pi})-\\dfrac{(d_i-\\mu_{obs})^2}{2\\sigma_{current}^2}+Log(prior(\\mu_{obs},\\sigma_{current})) $\n", + " $ \\quad \\quad \\quad \\quad \\quad \\sum_i^n (-Log(\\sigma_{current}\\sqrt{2\\pi})-\\dfrac{(d_i-\\mu_{obs})^2}{2\\sigma_{current}^2})+Log(prior(\\mu_{obs},\\sigma_{current})) $\n", " \n", " This form can be reduced even more by taking the square root and the multiplication out of the log.\n" ]