Coefficient of Determination Formula

Coefficient of Determination Formula

The Coefficient of Determination is used to analyse, how the difference in one variable can be explained by a difference in a second variable. In statistics, the coefficient of determination is denoted as R2 or r2 and pronounced as R square.

The Coefficient of Determination is one of the most important tools in statistics that are widely used in data analysis including economics, physics, chemistry among other fields. The Coefficient of Determination is used to forecast or predict the possible outcomes.

The value of Coefficient of Determination comes between 0 and 1. The higher the value of R2, the better the prediction!

The formula of correlation coefficient is given below:

\[\large r = \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 ]}}\]

Where,
r = Correlation coefficient
x = Values in first set of data
y = Values in second set of data
n = Total number of values.

Solved Examples

Question 1: The number of roses and the number of lily flowers are noted every week at a garden during an observation. The observation readings of 4 successive weeks are as follows:

Compute the coefficient of determination.

Rose 2 4 3 1
Lily 6 2 5 3
Solution:
\(\begin{array}{l}x\end{array} \)
\(\begin{array}{l}y\end{array} \)
\(\begin{array}{l}x^2\end{array} \)
\(\begin{array}{l}y^2\end{array} \)
\(\begin{array}{l}xy\end{array} \)
2 6 4 36 12
4 2 16 4 8
3 5 9 25 15
1 3 1 9 3
\(\begin{array}{l}\sum x\end{array} \)
=10
\(\begin{array}{l}\sum y\end{array} \)
=16
\(\begin{array}{l}\sum x^2\end{array} \)
=30
\(\begin{array}{l}\sum y^2\end{array} \)
=74
\(\begin{array}{l}\sum xy\end{array} \)
=38

Formula for correlation coefficient:

\(\begin{array}{l}r\end{array} \)
=
\(\begin{array}{l}\large\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 ]}}\end{array} \)
\(\begin{array}{l}r\end{array} \)
=
\(\begin{array}{l}\large\frac{4\times 38-10\times 16}{\sqrt{[4\times30-10^{2}][4\times 74-16^{2}]}}\end{array} \)
\(\begin{array}{l}r\end{array} \)
= 
\(\begin{array}{l}\large\frac{4\times 38-10\times 16}{\sqrt{[4\times30-100][4\times 74-256]}}\end{array} \)
\(\begin{array}{l}r\end{array} \)
=
\(\begin{array}{l}\large\frac{152-160}{\sqrt{[120-100][296-256]}}\end{array} \)
\(\begin{array}{l}r\end{array} \)
=
\(\begin{array}{l}\large\frac{-8}{\sqrt{[20][40]}}\end{array} \)
\(\begin{array}{l}r\end{array} \)
= 
\(\begin{array}{l}\large\frac{-8}{\sqrt{800}}\end{array} \)
\(\begin{array}{l}r\end{array} \)
= 
\(\begin{array}{l}\large\frac{-8}{28.28}\end{array} \)
\(\begin{array}{l}r\end{array} \)
= -0.28

Comments

Leave a Comment

Your Mobile number and Email id will not be published.

*

*