From e6c305676da9820af00ab31ee1c8ef4bea22e781 Mon Sep 17 00:00:00 2001 From: clarpaul Date: Sun, 26 Feb 2017 07:11:56 -0800 Subject: [PATCH] Math typo, line 79: \eta needs to be exponentiated Change "(1 + \eta_i)^{-1}" to "(1 + \exp(\eta_i))^{-1}" on line 79. --- 07_RegressionModels/03_01_glms/index.Rmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/07_RegressionModels/03_01_glms/index.Rmd b/07_RegressionModels/03_01_glms/index.Rmd index 96940881c..36b5e524b 100644 --- a/07_RegressionModels/03_01_glms/index.Rmd +++ b/07_RegressionModels/03_01_glms/index.Rmd @@ -76,7 +76,7 @@ Thus the likelihood is $$ \prod_{i=1}^n \mu_i^{y_i} (1 - \mu_i)^{1-y_i} = \exp\left(\sum_{i=1}^n y_i \eta_i \right) -\prod_{i=1}^n (1 + \eta_i)^{-1} +\prod_{i=1}^n (1 + \exp(\eta_i))^{-1} $$ ---