R² (coeficiente det.)

R² = 1 − SS_res/SS_tot.
Created by
Renato Passos, Eng. de Software
Reviewed by
Renato Passos, Eng. de Software

Last updated: Apr 18, 2026

0,9000

Formula

About this calculator

The R² calculator is an important tool in statistics that helps measure the strength of the relationship between two variables. It calculates the coefficient of determination of a linear regression model, which is a measure of how much the independent variable explains the dependent variable.

The calculation of R² is done using the formula R² = 1 − SS_res/SS_tot, where SS_res is the sum of the squares of the residuals and SS_tot is the sum of the squares of the predicted values.

The R² calculator is useful in various situations, such as correlation and linear regression analysis. It helps identify if there is a significant relationship between the variables and the magnitude of this effect.

However, it's essential to be careful when interpreting R² results, as a high value does not necessarily mean the model is good. It's essential to consider other factors, such as data quality and the presence of outliers.

Frequently asked questions

What is R²?

R² is the coefficient of determination of a linear regression model, which measures the strength of the relationship between two variables.

When to use the R² calculator?

The R² calculator is useful in correlation and linear regression analysis to identify if there is a significant relationship between the variables.

What are SS_res and SS_tot?

SS_res is the sum of the squares of the residuals and SS_tot is the sum of the squares of the predicted values.

How to interpret R² results?

It's essential to consider other factors, such as data quality and the presence of outliers, when interpreting R² results.

Can I use the R² calculator for any type of regression model?

No, the R² calculator is specific to linear regression models.

Other Regressao calculators