Coefficient of determination
Builds on Ordinary least squaresSample mean
Definition
Let be observed values of a response, not all equal, and let be the fitted values of a regression model. Let be the sample mean. The total sum of squares is . The residual sum of squares is . The coefficient of determination is
Remarks
Example: take the points and fit by ordinary least squares. The fit is , , with fitted values , , . Then and , so .
When the fit is by ordinary least squares with an intercept, with . So lies in . In that case is the square of the sample correlation between and . For a straight line fit it is the square of the sample correlation between and .
Non-example: if the fitted values do not come from least squares with an intercept, the formula can give a negative number. With the same data and the constant prediction , one gets , so .
The adjusted for a model with coefficients, including the intercept, is . It penalises extra regressors.
Reading path
To understand this page from the ground up, read these 3 pages in order. The foundations come first.
Show the path as a graph
- no evidence level
- Ordinary least squares concept
- Sample mean concept
- Coefficient of determination definition
Further reading
About this page
| Tag | XKGEV5RP3T |
|---|---|
| URI | m2://XKGEV5RP3T |
| Kind | definition |
| Writing | W0 stub |
| MSC | 62J05 |
| Defines | Coefficient of determination |
| Uses | Ordinary least squares, Sample mean |
Markdown · JSON · Edit on GitHub
What this page needs for W1
- an inventory row: the row of the inventory that the node accounts for (0 of 1)
- a source with a locator (0 of 1)
The writing levels say how complete the text of a page is. They do not measure its truth.
What links here
No page links to this page yet.