# 12.5 Correlation coefficient and coefficient of determination

 Page 1 / 2
Linear Regression and Correlation: The Correlation Coefficient and Coefficient of Determination is a part of Collaborative Statistics collection (col10522) by Barbara Illowsky and Susan Dean with contributions from Roberta Bloom. The name has been changed from Correlation Coefficient.

## The correlation coefficient r

Besides looking at the scatter plot and seeing that a line seems reasonable, how can you tell if the line is a good predictor? Use the correlation coefficient as another indicator(besides the scatterplot) of the strength of the relationship between $x$ and $y$ .

The correlation coefficient, r, developed by Karl Pearson in the early 1900s, is a numerical measure of the strength of association between the independent variable x and the dependent variable y.

The correlation coefficient is calculated as

$r=\frac{n\cdot \Sigma x\cdot y-\left(\Sigma x\right)\cdot \left(\Sigma y\right)}{\sqrt{\left[n\cdot \Sigma {x}^{2}-\left(\Sigma x{\right)}^{2}\right]\cdot \left[n\cdot \Sigma {y}^{2}-\left(\Sigma y{\right)}^{2}\right]}}$

where $n$ = the number of data points.

If you suspect a linear relationship between $x$ and $y$ , then $r$ can measure how strong the linear relationship is.

## What the value of r tells us:

• The value of $r$ is always between -1 and +1: $-1\le r\le 1$ .
• The size of the correlation $r$ indicates the strength of the linear relationship between $x$ and $y$ . Values of $r$ close to -1 or to +1 indicate a stronger linear relationship between $x$ and $y$ .
• If $\mathrm{r=0}$ there is absolutely no linear relationship between $x$ and $y$ (no linear correlation) .
• If $r=1$ , there is perfect positive correlation. If $r=-1$ , there is perfect negative correlation. In both these cases, all of the original data points lie on a straight line. Of course,in the real world, this will not generally happen.

## What the sign of r tells us

• A positive value of $r$ means that when $x$ increases, $y$ tends to increase and when $x$ decreases, $y$ tends to decrease (positive correlation) .
• A negative value of $r$ means that when $x$ increases, $y$ tends to decrease and when $x$ decreases, $y$ tends to increase (negative correlation) .
• The sign of $r$ is the same as the sign of the slope, $b$ , of the best fit line.
Strong correlation does not suggest that $x$ causes $y$ or $y$ causes $x$ . We say "correlation does not imply causation." For example, every person who learned math in the 17th century is dead. However, learning math does not necessarily causedeath!

The formula for $r$ looks formidable. However, computer spreadsheets, statistical software, and many calculators can quickly calculate $r$ . The correlation coefficient $r$ is the bottom item in the output screens for the LinRegTTest on the TI-83, TI-83+, or TI-84+ calculator (see previous section for instructions).

## The coefficient of determination

${r}^{2}$ is called the coefficient of determination. ${r}^{2}$ is the square of the correlation coefficient , but is usually stated as a percent, rather than in decimal form. ${r}^{2}$ has an interpretation in the context of the data:

• ${r}^{2}$ , when expressed as a percent, represents the percent of variation in the dependent variable y that can be explained by variation in the independent variable x using the regression (best fit) line.
• 1- ${r}^{2}$ , when expressed as a percent, represents the percent of variation in y that is NOT explained by variation in x using the regression line. This can be seen as the scattering of the observed data points about the regression line.

## Consider the third exam/final exam example Introduced in the previous section

• The line of best fit is: $\stackrel{^}{y}=-173.51+\text{4.83x}$
• The correlation coefficient is $r=0.6631$
• The coefficient of determination is ${r}^{2}$ = ${\mathrm{0.6631}}^{2}$ = 0.4397
• Interpretation of ${r}^{2}$ in the context of this example:
• Approximately 44% of the variation (0.4397 is approximately 0.44) in the final exam grades can be explained by the variation in the grades on the third exam, using the best fit regression line.
• Therefore approximately 56% of the variation (1 - 0.44 = 0.56) in the final exam grades can NOT be explained by the variation in the grades on the third exam, using the best fit regression line. (This is seen as the scattering of the points about the line.)

**With contributions from Roberta Bloom.

are nano particles real
yeah
Joseph
Hello, if I study Physics teacher in bachelor, can I study Nanotechnology in master?
no can't
Lohitha
where we get a research paper on Nano chemistry....?
nanopartical of organic/inorganic / physical chemistry , pdf / thesis / review
Ali
what are the products of Nano chemistry?
There are lots of products of nano chemistry... Like nano coatings.....carbon fiber.. And lots of others..
learn
Even nanotechnology is pretty much all about chemistry... Its the chemistry on quantum or atomic level
learn
da
no nanotechnology is also a part of physics and maths it requires angle formulas and some pressure regarding concepts
Bhagvanji
hey
Giriraj
Preparation and Applications of Nanomaterial for Drug Delivery
revolt
da
Application of nanotechnology in medicine
has a lot of application modern world
Kamaluddeen
yes
narayan
what is variations in raman spectra for nanomaterials
ya I also want to know the raman spectra
Bhagvanji
I only see partial conversation and what's the question here!
what about nanotechnology for water purification
please someone correct me if I'm wrong but I think one can use nanoparticles, specially silver nanoparticles for water treatment.
Damian
yes that's correct
Professor
I think
Professor
Nasa has use it in the 60's, copper as water purification in the moon travel.
Alexandre
nanocopper obvius
Alexandre
what is the stm
is there industrial application of fullrenes. What is the method to prepare fullrene on large scale.?
Rafiq
industrial application...? mmm I think on the medical side as drug carrier, but you should go deeper on your research, I may be wrong
Damian
How we are making nano material?
what is a peer
What is meant by 'nano scale'?
What is STMs full form?
LITNING
scanning tunneling microscope
Sahil
how nano science is used for hydrophobicity
Santosh
Do u think that Graphene and Fullrene fiber can be used to make Air Plane body structure the lightest and strongest. Rafiq
Rafiq
what is differents between GO and RGO?
Mahi
what is simplest way to understand the applications of nano robots used to detect the cancer affected cell of human body.? How this robot is carried to required site of body cell.? what will be the carrier material and how can be detected that correct delivery of drug is done Rafiq
Rafiq
if virus is killing to make ARTIFICIAL DNA OF GRAPHENE FOR KILLED THE VIRUS .THIS IS OUR ASSUMPTION
Anam
analytical skills graphene is prepared to kill any type viruses .
Anam
Any one who tell me about Preparation and application of Nanomaterial for drug Delivery
Hafiz
what is Nano technology ?
write examples of Nano molecule?
Bob
The nanotechnology is as new science, to scale nanometric
brayan
nanotechnology is the study, desing, synthesis, manipulation and application of materials and functional systems through control of matter at nanoscale
Damian
Is there any normative that regulates the use of silver nanoparticles?
what king of growth are you checking .?
Renato
how did you get the value of 2000N.What calculations are needed to arrive at it
Privacy Information Security Software Version 1.1a
Good
1 It is estimated that 30% of all drivers have some kind of medical aid in South Africa. What is the probability that in a sample of 10 drivers: 3.1.1 Exactly 4 will have a medical aid. (8) 3.1.2 At least 2 will have a medical aid. (8) 3.1.3 More than 9 will have a medical aid.