You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: P/rsq-der.md
+6-7Lines changed: 6 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -61,7 +61,6 @@ where $X$ is the $n \times p$ design matrix and $\hat{\beta}$ are the [ordinary
61
61
62
62
**Proof:** The [coefficient of determination](/D/rsq) $R^2$ is defined as the proportion of the variance explained by the independent variables, relative to the total variance in the data.
63
63
64
-
<br>
65
64
1) If we define the [explained sum of squares](/D/ess) as
where $\mathrm{df}_r = n-p$ and $\mathrm{df}_t = n-1$ are the residual and total [degrees of freedom](/D/dof).
99
-
100
-
<br>
101
-
This gives the adjusted $R^2$ which adjusts $R^2$ for the number of explanatory variables.
100
+
where $\mathrm{df}_r = n-p$ and $\mathrm{df}_t = n-1$ are the residual and total [degrees of freedom](/D/dof). This gives the adjusted $R^2$ which adjusts $R^2$ for the [number of explanatory variables](/D/mlr).
Copy file name to clipboardExpand all lines: P/slr-rescorr.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,15 +27,15 @@ username: "JoramSoch"
27
27
---
28
28
29
29
30
-
**Theorem:** In [simple linear regression](/D/slr), the [residuals](/D/rss) and the [covariate](/D/slr) are [uncorrelated](/D/corr) when estimated using [ordinary least squares](/P/slr-ols).
30
+
**Theorem:** In [simple linear regression](/D/slr), the [residuals](/D/rss) and the [covariate](/D/slr) are [uncorrelated](/D/corr) when [estimated using ordinary least squares](/P/slr-ols).
31
31
32
32
**Proof:** The residuals are defined as the estimated [error terms](/D/slr)
Because an inner product of zero also implies zero [correlation](/D/corr), this demonstrates that [residuals](/D/rss) and [covariate](/D/slr) values are uncorrelated under [ordinary least squares](/P/slr-ols).
63
+
Because an inner product of zero also implies zero [correlation](/D/corr), this demonstrates that [residuals](/D/rss) and [covariate](/D/slr) values are uncorrelated [under ordinary least squares](/P/slr-ols).
0 commit comments