EDUCBA

EDUCBA

MENUMENU
  • Blog
  • Free Courses
  • All Courses
  • All in One Bundle
  • Login
Home Finance Finance Resources Finance Formula Coefficient of Determination Formula

Coefficient of Determination Formula

Madhuri Thakur
Article byMadhuri Thakur

Updated May 26, 2023

Coefficient of Determination Formula

Coefficient of Determination Formula (Table of Contents)

Start Your Free Investment Banking Course

Download Corporate Valuation, Investment Banking, Accounting, CFA Calculator & others

  • Formula
  • Examples

What is the Coefficient of Determination Formula?

In statistics, the coefficient of determination, also termed R2, determines and assesses a statistical model’s ability to explain and predict future outcomes. In other words, if we have the dependent variable y and independent variable x in a model, then R2 helps determine the variation in y by variation x. It is a key output of regression analysis used to predict the future or test some models with related information. The value of R2 lies between 0 and 1, and the higher the value of R2, the better the prediction and strength of the model. R2 is very similar to the correlation coefficient since the correlation coefficient measures the direct association of two variables. R2 is a square of a correlation coefficient.

Formula For Coefficient of Determination:

There are multiple Formulas to calculate the coefficient of determination:

  1. Using the Correlation Coefficient :
Correlation Coefficient = Σ [(X – Xm) * (Y – Ym)] / √ [Σ (X – Xm)2 * Σ (Y – Ym)2]

Where:

  • X – Data points in Data set X
  • Y – Data points in Data set Y
  • Xm – Mean of Data set X
  • Ym – Mean of Data set Y

So

Coefficient of Determination(R2) = (Correlation Coefficient)2
  1. Using Regression outputs

Coefficient of Determination (R2) = Explained Variation / Total Variation

Coefficient of Determination (R2) = MSS / TSS

Coefficient of Determination (R2) = (TSS – RSS) / TSS

Where:

  • TSS – Total Sum of Squares = Σ (Yi – Ym)2
  • MSS – Model Sum of Squares = Σ (Y^ – Ym)2
  • RSS – Residual Sum of Squares =Σ (Yi – Y^)2

Y^ is the predicted value of the model, Yi is the ith value, and Ym is the mean value

Examples of Coefficient of Determination Formula (With Excel Template)

Let’s take an example to understand the calculation of the Coefficient of Determination in a better manner.

You can download this Coefficient of Determination Formula Excel Template here – Coefficient of Determination Formula Excel Template

Coefficient of Determination Formula – Example #1

Let’s say we have two data sets, X & Y, each containing 20 random data points. Calculate the Coefficient of Determination for the data set X & Y.

Coefficient of Determination Formula Example 1-1

The mean is calculated as follows:

Coefficient of Determination Formula Example 1-2

  • Mean of Data Set X = 48.7
  • Mean of Data Set Y = 42.1

We must calculate the difference between the data points and the mean value.

Coefficient of Determination Formula Example 1-3

Similarly, calculate for all the data sets of X.

Coefficient of Determination Formula Example 1-4

Similarly, calculate it for data set Y also.

Coefficient of Determination Formula Example 1-5

Calculate the square of the difference for both the data sets, X and Y.

Example 1-5

Multiply the difference in X with Y.

Example 1-7

The correlation coefficient is calculated using the formula given below

Correlation Coefficient = Σ [(X – Xm) * (Y – Ym)] / √ [Σ (X – Xm)2 * Σ (Y – Ym)2]

Correlation Coefficient Example 1-8

The coefficient of determination is calculated using the formula given below

Coefficient of Determination = (Correlation Coefficient)2

Coefficient of Determination Formula Example 1-9

Coefficient of Determination = 13.69%

Coefficient of Determination Formula – Example #2

Let’s say you are a risk-averse investor looking to invest money in the stock market. You are unsure which stocks to invest in, and your risk appetite is low. So you want to invest in a safe stock that can mimic the index’s performance. Your friend, an active investor, has shortlisted 3 stocks for you based on their fundamental and technical information, and you want to choose 2 stocks among those three.

You have also collected information about their historical returns for the last 15 years.

Coefficient of Determination Formula Example 2-1

The correlation coefficient is calculated using the Excel formula

Correlation Coefficient Example 2-2

The coefficient of determination is calculated using the formula given below

Coefficient of Determination = (Correlation Coefficient)2

Coefficient of Determination Formula Example 2-3

Based on the information, you will choose stock ABC and XYZ to invest in since they have the highest coefficient of determination.

Explanation

As explained above, the coefficient of determination is the square of the correlation between two data sets. If R2 is 0, there is no correlation, and the independent variable cannot predict the value of the dependent variable. Similarly, if its value is 1, the independent variable will always be successful in predicting the dependent variable. But there are some limitations also. Although it tells us the correlation between 2 data sets, it does not tell us whether that value is enough or not.

Also, a significant value of R2 does not always imply that the 2 variables have strong relationships and can be a fluke. For example, the R2 value between the number of cars sold in a year and the number of ice cream boxes sold in a year is 80%. But there is no relation between these two. So one should be careful while using R2, understand the data first, and then apply the method.

Relevance and Use of Coefficient of Determination Formula

There are many practical applications of R2. For example, R2 is very commonly used by investors to compare the performance of their portfolio with the market and try to predict future directions. Similarly, Hedge Funds use R2 to help them to model the risk in their models. But ultimately, the outcome is based on pure numbers and statistics, which can be misleading sometimes. As mentioned above, one needs to check first if the output of the R2 makes sense in real life or not.

Recommended Articles

This has been a guide to the Coefficient of Determination Formula. Here we discuss how to calculate the Coefficient of Determination along with practical examples and a downloadable Excel template. You may also look at the following articles to learn more –

  1. Guide To Market Risk Premium Formula
  2. Examples of Coverage Ratio Formula
  3. Calculator For Activity-Based Costing Formula
  4. How To Calculate Information Ratio Using Formula?
All in One Excel VBA Bundle
500+ Hours of HD Videos
15 Learning Paths
120+ Courses
Verifiable Certificate of Completion
Lifetime Access
Financial Analyst Masters Training Program
2000+ Hours of HD Videos
43 Learning Paths
550+ Courses
Verifiable Certificate of Completion
Lifetime Access
All in One Data Science Bundle
2000+ Hour of HD Videos
80 Learning Paths
400+ Courses
Verifiable Certificate of Completion
Lifetime Access
All in One Software Development Bundle
5000+ Hours of HD Videos
149 Learning Paths
1050+ Courses
Verifiable Certificate of Completion
Lifetime Access
Primary Sidebar
Financial Analyst Masters Training Program2000+ Hours of HD Videos | 43 Learning Paths | 550+ Courses | Verifiable Certificate of Completion | Lifetime Access
All in One Data Science Bundle2000+ Hour of HD Videos | 80 Learning Paths | 400+ Courses | Verifiable Certificate of Completion | Lifetime Access
Footer
About Us
  • Blog
  • Who is EDUCBA?
  • Sign Up
  • Live Classes
  • Certificate from Top Institutions
  • Contact Us
  • Verifiable Certificate
  • Reviews
  • Terms and Conditions
  • Privacy Policy
  •  
Apps
  • iPhone & iPad
  • Android
Resources
  • Free Courses
  • Investment Banking Jobs Offer
  • Finance Formula
  • All Tutorials
Certification Courses
  • All Courses
  • Financial Analyst All in One Bundle
  • Investment Banking Training
  • Financial Modeling Course
  • Equity Research Course
  • Private Equity Training Course
  • Business Valuation Course
  • Mergers and Acquisitions Course

ISO 10004:2018 & ISO 9001:2015 Certified

© 2023 - EDUCBA. ALL RIGHTS RESERVED. THE CERTIFICATION NAMES ARE THE TRADEMARKS OF THEIR RESPECTIVE OWNERS.

EDUCBA

Download Coefficient of Determination Formula Excel Template

Let’s Get Started

By signing up, you agree to our Terms of Use and Privacy Policy.

EDUCBA

*Please provide your correct email id. Login details for this Free course will be emailed to you

EDUCBA
Free Investment Banking Course

Corporate Valuation, Investment Banking, Accounting, CFA Calculator & others

By continuing above step, you agree to our Terms of Use and Privacy Policy.
*Please provide your correct email id. Login details for this Free course will be emailed to you

EDUCBA

*Please provide your correct email id. Login details for this Free course will be emailed to you
EDUCBA

*Please provide your correct email id. Login details for this Free course will be emailed to you
EDUCBA Login

Forgot Password?

By signing up, you agree to our Terms of Use and Privacy Policy.

EDUCBA

डाउनलोड Coefficient of Determination Formula Excel Template

This website or its third-party tools use cookies, which are necessary to its functioning and required to achieve the purposes illustrated in the cookie policy. By closing this banner, scrolling this page, clicking a link or continuing to browse otherwise, you agree to our Privacy Policy

Loading . . .
Quiz
Question:

Answer:

Quiz Result
Total QuestionsCorrect AnswersWrong AnswersPercentage

Explore 1000+ varieties of Mock tests View more