From 1ee756cf9a10fb6853bf9aa960c14eb81dcef9b0 Mon Sep 17 00:00:00 2001 From: udlbook <110402648+udlbook@users.noreply.github.com> Date: Tue, 11 Jun 2024 15:07:57 -0400 Subject: [PATCH] Update 17_3_Importance_Sampling.ipynb --- Notebooks/Chap17/17_3_Importance_Sampling.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Notebooks/Chap17/17_3_Importance_Sampling.ipynb b/Notebooks/Chap17/17_3_Importance_Sampling.ipynb index 8f31414..92caf63 100644 --- a/Notebooks/Chap17/17_3_Importance_Sampling.ipynb +++ b/Notebooks/Chap17/17_3_Importance_Sampling.ipynb @@ -61,7 +61,7 @@ "by drawing $I$ samples $y_i$ and using the formula:\n", "\n", "\\begin{equation}\n", - "\\mathbb{E}_{y}\\Bigl[\\exp\\bigl[- (y-1)^4\\bigr]\\Bigr] \\approx \\frac{1}{I} \\sum_{i=1}^I \\exp\\bigl[-(y-1)^4 \\bigr]\n", + "\\mathbb{E}_{y}\\Bigl[\\exp\\bigl[- (y-1)^4\\bigr]\\Bigr] \\approx \\frac{1}{I} \\sum_{i=1}^I \\exp\\bigl[-(y_i-1)^4 \\bigr]\n", "\\end{equation}" ] },