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
and
.
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
where
= the number of data points.
If you suspect a linear relationship between
and
, then
can measure how strong the linear relationship is.
What the value of r tells us:
The value of
is always between -1 and +1:
.
The size of the correlation
indicates the strength of the linear relationship between
and
. Values of
close to -1 or to +1 indicate a stronger linear relationship between
and
.
If
there is absolutely no linear relationship between
and
(no linear correlation) .
If
, there is perfect positive correlation. If
, 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
means that when
increases,
tends to increase and when
decreases,
tends to decrease
(positive correlation) .
A negative value of
means that when
increases,
tends to decrease and when
decreases,
tends to increase
(negative correlation) .
The sign of
is the same as the sign of the slope,
,
of the best fit line.
Strong correlation does not suggest that
causes
or
causes
. 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!
Consider the third exam/final exam example introduced in the previous section. To find the correlation of this data we need the summary statistics; means, standard deviations, sample size, and the sum of the product of x and y.
X (third exam score)
Y (final exam score)
x times y
65
175
65(175) = 11375
67
133
8911
71
185
13135
71
163
11573
66
126
8316
75
198
14850
67
153
10251
70
163
11410
71
159
11289
69
151
10419
69
159
10971
To find
multiple the x and y in each ordered pair together then sum these products. For this problem
=122,500. To find the correlation coefficient we need the mean of x, the mean of y, the standard deviation of x and the standard deviation of y.
,
,
,
,
=122,500
Put the summary statistics into the correlation coefficient formula and solve for r, the correlation coefficient.
The coefficient of determination
is called the coefficient of determination.
is the square of the correlation coefficient , but is usually stated as a percent, rather than in decimal form.
has an interpretation in the context of the data:
, 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-
, 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.
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.
Questions & Answers
A golfer on a fairway is 70 m away from the green, which sits below the level of the fairway by 20 m. If the golfer hits the ball at an angle of 40° with an initial speed of 20 m/s, how close to the green does she come?
A mouse of mass 200 g falls 100 m down a vertical mine shaft and lands at the bottom with a speed of 8.0 m/s. During its fall, how much work is done on the mouse by air resistance
Chemistry is a branch of science that deals with the study of matter,it composition,it structure and the changes it undergoes
Adjei
please, I'm a physics student and I need help in physics
Adjanou
chemistry could also be understood like the sexual attraction/repulsion of the male and female elements. the reaction varies depending on the energy differences of each given gender. + masculine -female.
Pedro
A ball is thrown straight up.it passes a 2.0m high window 7.50 m off the ground on it path up and takes 1.30 s to go past the window.what was the ball initial velocity
2. A sled plus passenger with total mass 50 kg is pulled 20 m across the snow (0.20) at constant velocity by a force directed 25° above the horizontal. Calculate (a) the work of the applied force, (b) the work of friction, and (c) the total work.
you have been hired as an espert witness in a court case involving an automobile accident. the accident involved car A of mass 1500kg which crashed into stationary car B of mass 1100kg. the driver of car A applied his brakes 15 m before he skidded and crashed into car B. after the collision, car A s
can someone explain to me, an ignorant high school student, why the trend of the graph doesn't follow the fact that the higher frequency a sound wave is, the more power it is, hence, making me think the phons output would follow this general trend?
Nevermind i just realied that the graph is the phons output for a person with normal hearing and not just the phons output of the sound waves power, I should read the entire thing next time
Joseph
Follow up question, does anyone know where I can find a graph that accuretly depicts the actual relative "power" output of sound over its frequency instead of just humans hearing
Joseph
"Generation of electrical energy from sound energy | IEEE Conference Publication | IEEE Xplore" ***ieeexplore.ieee.org/document/7150687?reload=true
A string is 3.00 m long with a mass of 5.00 g. The string is held taut with a tension of 500.00 N applied to the string. A pulse is sent down the string. How long does it take the pulse to travel the 3.00 m of the string?
Receive real-time job alerts and never miss the right job again
Source:
OpenStax, Collaborative statistics using spreadsheets. OpenStax CNX. Jan 05, 2016 Download for free at http://legacy.cnx.org/content/col11521/1.23
Google Play and the Google Play logo are trademarks of Google Inc.
Notification Switch
Would you like to follow the 'Collaborative statistics using spreadsheets' conversation and receive update notifications?