Course

# Understanding Sum of Squares: A Guide to SST, SSR, and SSE

Learn how to calculate the total sum of squares (SST), regression sum of squares (SSR), and error sum of squares (SSE) to evaluate regression model accuracy. Discover their mathematical relationships and how they impact R-squared.

Sep 23, 2024 · 6 min read

### What is the sum of squares total?

### What is the sum of squares regression?

### What is the sum of squares error?

### How are the SST, SSR, and SSE related among themselves?

### What is the R-squared, and how is it related to the SST, SSR, and SSE?

Learn with DataCamp

4 hr

37.3K

Course

### Introduction to Regression in R

4 hr

53.6K

Course

### Inference for Linear Regression in R

4 hr

13.8K

See More

RelatedSee MoreSee More

tutorial

### Simple Linear Regression: Everything You Need to Know

Learn simple linear regression. Master the model equation, understand key assumptions and diagnostics, and learn how to interpret the results effectively.

Josef Waples

7 min

tutorial

### Adjusted R-Squared: A Clear Explanation with Examples

Discover how to interpret adjusted r-squared to evaluate regression model performance. Compare the difference between r-squared and adjusted r-squared with examples in R and Python.

Allan Ouko

7 min

tutorial

### SQL SUM() Function Explained

Discover the power of the SQL SUM() function for data aggregation. Learn how to implement rolling sums, cumulative sums, and sum multiple columns effectively.

Allan Ouko

8 min

tutorial

### Sample Standard Deviation: The Key Ideas

Learn how to calculate sample standard deviation and understand its significance in statistical analysis. Explore examples and best practices for real-world data interpretation.

Allan Ouko

6 min

tutorial

### How to Do Linear Regression in R

Learn linear regression, a statistical model that analyzes the relationship between variables. Follow our step-by-step guide to learn the lm() function in R.

Eladio Montero Porras

15 min

tutorial

### Multiple Linear Regression in R: Tutorial With Examples

A complete overview to understanding multiple linear regressions in R through examples.

Zoumana Keita

12 min