The Wayback Machine - https://web.archive.org/web/20240825103557/https://www.geeksforgeeks.org/coefficient-of-determination-formula/
Open In App

Coefficient of Determination Formula

Last Updated : 07 Aug, 2024
Comments
Improve
Suggest changes
Like Article
Like
Save
Share
Report
News Follow

Coefficient of determination is defined as the fraction of variance predicted by the independent variable in the dependent variable. It shows the degree of variation in the data collection offered. It is also known as R2 method which is used to examine how differences in one variable may be explained by variations in another. It is used in statistical analysis to predict and explain the future events of a model. It is proportional to the square of the correlation and its value lies between 0 and 1. If its value is zero, the dependent variable cannot be predicted based on the independent variable. If it is 1, the dependent variable may be predicted without mistake from the independent variable. And if it is between 0 and 1, it reflects how well the dependent variable can be predicted. Its value is equal to the square of the correlation coefficient, that is, r2.

Formula

[Tex]r^2=\left[\frac{n(\sum xy)-(\sum x)(\sum y)}{\sqrt{\left [ n\sum x^{2}-(\sum x)^{2} \right ]\left [ n\sum y^{2}-(\sum y)^{2} \right ]}}\right]^2 [/Tex]

where,

r2 is the coefficient of determination,

n is the number of observations of data set,

Σx is the sum of the first variable,

Σy is the sum of the second variable,

Σxy is the sum of the product of first and second variable,

Σx2 is the sum of the squares of the first variable,

Σy2 is the sum of the squares of the second variable.

If residual sum of squares and total sum of squares of data values are given, the formula for coefficient of determination is given by,

r2 = 1 – (R/T)

where,

r2 is the coefficient of determination,

R is the residual sum of squares,

T is the total sum of squares.

Sample Problems

Problem 1. Calculate the coefficient of determination for the data:

x

y

1

4

4

8

6

9

8

10

Solution:

The given data set is,

x

y

xy

x2

y2

1

4

4

1

16

4

8

12

16

64

6

9

15

36

81

8

10

18

64

100

Σx = 19

Σy = 31

Σxy = 49

Σx2 = 117

Σy2 = 261 

Using the formula we get,

r2 = [ (4 (49) – (19) (31)) / ((4 (117) – 361) (4 (261) – 961)) ]2

= (-393/8881)2

= (-0.044)2

= 0.001936

Problem 2. Calculate the coefficient of determination for the data:

x

y

5

3

2

8

4

1

7

5

The given data set is,

x

y

xy

x2

y2

5

3

15

25

9

2

8

16

4

64

4

1

4

16

1

7

5

35

49

25

Σx = 18

Σy = 17

Σxy = 70

Σx2 = 94

Σy2 = 99

Using the formula we get,

r2 = [ (4 (70) – (18) (17)) / ((4 (94) – 324) (4 (99) – 289)) ]2

= (-26/5564)2

= (-0.046)2

= 0.002116

Problem 3. Calculate the coefficient of determination if correlation coefficient is 0.5.

Solution:

We have,

r = 0.5

Using the formula we get,

Coefficient of determination = r2

= (0.5)2

= 0.25

Problem 4. Calculate the coefficient of determination if correlation coefficient is 0.82.

Solution:

We have,

r = 0.82

Using the formula we get,

Coefficient of determination = r2

= (0.82)2

= 0.67

Problem 5. Calculate the correlation coefficient if the coefficient of determination is 0.54.

Solution:

We have,

r2 = 0.54

Using the formula we get,

Coefficient of correlation = √r2

= √0.54

= 0.734

Problem 6. Calculate the correlation coefficient if the coefficient of determination is 0.68.

Solution:

We have,

r2 = 0.68

Using the formula we get,

Coefficient of correlation = √r2

= √0.68

= 0.82

Problem 7. Calculate the coefficient of determination if the residual sum of squares is 100 and total sum of squares is 200.

Solution:

We have, 

R = 100

T = 200

Using the formula we get,

r2 = 1 – (R/T)

= 1 – (100/200)

= 1 – 1/2

= 1/2

= 0.5



Previous Article
Next Article

Similar Reads

How to Calculate the Coefficient of Determination?
In mathematics, the study of data collection, analysis, perception, introduction, organization of data falls under statistics. In statistics, the coefficient of determination is utilized to notice how the contrast of one variable can be defined by the contrast of another variable. Like, whether a person will get a job or not they have a direct rela
7 min read
R Squared | Coefficient of Determination
R Squared | Coefficient of Determination: The R-squared is the statistical measure in the stream of regression analysis. In regression, we generally deal with the dependent and independent variables. A change in the independent variable is likely to cause a change in the dependent variable. The R-squared coefficient represents the proportion of var
9 min read
Sex Determination
Genetic information is transferred to the offspring from their parents by the means of asexual or sexual reproduction. Transferring traits from parents to their offspring is called heredity and it is also known as biological inheritance or inheritance. Natural selection is the way in which the species evolve and through heredity, many variations ca
7 min read
Determination of Boiling Point of Organic Compounds
Determining the boiling point of organic compounds is essential for understanding their properties and behavior. It is the temperature at which a substance changes its state from liquid to gas. Several factors contribute to the boiling point of organic compounds, including intermolecular forces, molecular weight, and symmetry. In this article, we l
7 min read
Dimensional Formula of Coefficient of Viscosity
Dimensional formula of Coefficient of Viscosity(η) is [M1 L-1 T-1]Coefficient of viscosity is the internal resistance of a fluid to flow is measured by its coefficient of viscosity, or η (eta). It creates a numerical connection between the force that is delivered and the fluid's subsequent velocity gradient. To put it simply, it measures the ease w
4 min read
Partition Coefficient Formula
Partition coefficient is defined as a chemical's concentration ratio between two mediums at equilibrium. In another way, a partition coefficient is the ratio of a substance's concentration in one medium or phase to its concentration in a second medium or phase when the two concentrations are at equilibrium. Gases such as air, liquids such as water
3 min read
Coefficient of Performance Formula
Every appliance that people buy has some efficiency and based on the efficiency people prefer to buy it. One of the most important factors in determining the efficiency of air conditioners, refrigerators, and heat pumps is the coefficient of performance. When we go to the store to buy an air conditioner, refrigerator, or heat pump, the first thing
4 min read
Coefficient of Static Friction Formula
Friction is a kind of force that opposes the motion of two objects towards each other. It is a contact force when two objects are under contact they experience friction. Friction is defined as the opposition offered by the surfaces that are in contact when they were in relative motion. There are different kinds of frictions on the basis of type of
5 min read
Correlation Coefficient Formula
Correlation Coefficient Formula: The correlation coefficient is a statistical measure used to quantify the relationship between predicted and observed values in a statistical analysis. It provides insight into the degree of precision between these predicted and actual values. Correlation coefficients are used to calculate how vital a connection is
11 min read
Coefficient of Variation Formula
Coefficient of deviation in statistics is explained as the ratio of the standard deviation to the arithmetic mean, for instance, the expression standard deviation is 15 % of the arithmetic mean is the coefficient variation. In this article, we have covered the Coefficient of Variation Definition, its related formulas, examples and others in detail.
9 min read
Linear Correlation Coefficient Formula
Correlation coefficients are used to measure how strong a relationship is between two variables. There are different types of formulas to get a correlation coefficient, one of the most popular is Pearson's correlation (also known as Pearson's R) which is commonly used for linear regression. Pearson's correlation coefficient is denoted with the symb
9 min read
What is the coefficient of y in 3xy?
Algebra is a discipline of mathematics concerned with the study of various symbols that represent quantities that do not have a fixed value or amount associated with them but instead vary or change over time in relation to some other factor. In the study of algebra, such symbols are referred to as variables, and the numbers associated with them are
4 min read
Self Inductance - Definition, Coefficient, Factors Affecting, Applications
When a coil made of copper wire is placed inside a magnetic field, the magnetic flux gets added to the coil. Faraday found that when the magnetic flux attached to the coil is charged, an electric current is introduced into the coil, provided that the coil is closed. If the coil is open, then an electromotive force is established in the coil. Thus g
7 min read
What is the coefficient of y in 4xy?
Algebra is an area of mathematics that deals with symbols and the mathematical operations that may be performed on them. These symbols, which have no set values, are referred to as variables. We frequently witness values that change in our real-life issues. However, there is a continuing requirement to represent these changing values. In algebra, t
5 min read
Coefficient of Thermal Conductivity
Coefficient of thermal conductivity measures the ability of a substance to transport heat. Wood and plastic are low conductivity materials that insulate and prevent heat movement, whereas metals and other high conductivity materials swiftly absorb and spread heat. Materials with high thermal conductivity transfer heat efficiently and are good condu
9 min read
Coefficient of Linear Expansion
Coefficient of linear expansion is a constant that measures the change in a material's length due to the temperature change. It is denoted by α. Every material has a unique coefficient of linear expansion. The unit of coefficient of linear expansion is K-1. In this article, we are going to learn about the Coefficient of Linear Expansion in detail,
7 min read
Coefficient of Skewness
Coefficient of Skewness is a statistical measure that indicates the asymmetry of data around its mean, revealing whether the data is skewed to the left, right, or is symmetrical. By identifying the direction and degree of skewness, researchers can gain insights into the underlying patterns and characteristics of the data. In this article, we will d
6 min read
Coefficient of a Variable
The coefficient of a variable is a number that is multiplied by a variable in an algebraic expression. It's often a constant that represents the number of units of the variable. Coefficient in Math is a number or alphabet or a symbol multiplied by a variable in an algebraic expression, showing the variable's impact on the expression. For example, i
8 min read
Coefficient in Binomial Expansion
Number that multiplies each term in the expansion of a binomial expression raised to a power is known as the coefficient in binomial expansion. The number of possibilities to pick "k" items from n elements is shown by the coefficients of the binomial theorem, which gives a formula for expanding statements such as (a + b)n) utilizing the formula (nk
9 min read
What is a Numerical Coefficient?
A fixed number that is multiplied by a variable is called a numerical coefficient. A numerical coefficient is a number that is multiplied by a variable in an algebraic expression. In simpler terms, is a number that multiplies variables in a mathematical expression. It's essentially a fixed value attached to a variable. It's the number that sits in
3 min read
What is the coefficient of y in 5xy?
The coefficient of y in 5xy is, 5x, the detailed solution for the same is added below. Before solving the question, let's first learn in brief about the Coefficient of an Algebraic Expression. What is Coefficient of an Algebraic Expression?A coefficient in mathematics is a number or any symbol expressing a constant value that is multiplied by the v
5 min read
How to calculate Coefficient of Variation?
Answer: Coefficient of Variation is calculated as- (Standard Deviation / Mean) × 100How to calculate the Coefficient of Variation? Statistics is the process by which the data is collected and analyzed. The coefficient of variation in statistics is explained as the ratio of the standard deviation to the arithmetic mean, for instance, the expression
6 min read
How to calculate the Pearson’s Correlation Coefficient?
The correlation topic comes under the statistics concept. It establishes the relationship between two variables. The correlation coefficient formula finds the correlation coefficient which measures the dependency of one variable on another variable. The correlation coefficient lies between -1 and 1. If the Correlation coefficient value is negative
3 min read
Pearson Correlation Coefficient
Pearson Correlation Coefficient: Correlation coefficients are used to measure how strong a relationship is between two variables. There are different types of formulas to get a correlation coefficient, one of the most popular is Pearson's correlation (also known as Pearson's r) which is commonly used for linear regression. The Pearson correlation c
15+ min read
Molecular Weight Formula - Definition, Formula, Solved Examples
An atom is the basic building block of matter i.e. everything around us is made of matter. This is the smallest unit into which matter can be divided without the release of any electrically charged particles. This is the smallest unit of matter which has the characteristic properties of a chemical element. The mass of an atom depends on the electro
5 min read
Rydberg Formula: Formula, Proof and Solved Examples
The Rydberg formula predicts the wavelength of light produced by an electron moving between atomic energy levels. Each element has a unique spectral fingerprint. When an element's gaseous state is heated, light is produced. When this light passes through a prism or a diffraction grating, bright lines of various hues can be discerned. In some manner
6 min read
Wind Energy Formula
The method of using wind to generate electricity is known as wind energy. The kinetic energy in the wind is converted into mechanical power by wind turbines. Wind energy is a renewable energy source that determines the wind's entire power. Wind turbines convert kinetic energy to mechanical power, which is then transformed into electricity, which is
4 min read
Angular Speed Formula
Speed is simply as you know the measure of how fast or slow an object is moving, like how fast are you driving a car. Now, here we are talking of a specific type of speed. Angular speed is a type of speed only but here the body must move in a circular path. Angular Speed Formula Angular speed is defined as the rate of change of angular displacement
4 min read
Mutual Inductance - Definition, Formula, Significance, Examples
The topic of induction was first given by Oersted by discovering that a magnetic field is produced through an electric field. After this, different scientists started to think can the reverse is possible .i.e. can we produce electric current from a magnetic field. Michael Faraday and Joseph Henry simultaneously established that an electric current
7 min read
What is Half Life Formula?
The Half-Life formula is used to find the time a substance will decay to half of its initial value. This formula is used where the rate of decay of the substance at any instant is directly proportional to its present value or quantity. As time passes, the quantity of the substance remaining decreases, hence the rate of decay also decreases accordin
4 min read