Skip to content

Commit 9bdcc9e

Browse files
author
Ned
committed
Small typo in R-squared description
1 parent 5685f96 commit 9bdcc9e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

notebooks/A3. Linear Regression - Analysis.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@
102102
"\n",
103103
"$R$-$squared$ or $R^2$ is a measure of how much of the variance in the data is captured by the model. What does this mean? For now let's understand this as a measure of how well the model captures the **spread** of the observed values not just the average trend. \n",
104104
"\n",
105-
"R is a coefficient of correlation between the independent variables and the dependent variable - i.e. how much the Y depends on the separate X's. R lies between -1 and 1, so R lies between 0 and 1. \n",
105+
"R is a coefficient of correlation between the independent variables and the dependent variable - i.e. how much the Y depends on the separate X's. R lies between -1 and 1, so $R^2$ lies between 0 and 1. \n",
106106
"\n",
107107
"A high $R^2$ would be close to 1.0 a low one close to 0. The value we have, 0.65, is a reasonably good one. It suggests an R with absolute value in the neighborhood of 0.8.\n",
108108
"The details of these error estimates deserve a separate discussion which we defer until another time.\n",
@@ -207,4 +207,4 @@
207207
"metadata": {}
208208
}
209209
]
210-
}
210+
}

0 commit comments

Comments
 (0)