Professional Documents
Culture Documents
Correlation
Correlation
Hope Sabao(PhD)
University of Lusaka
1
Linear Correlation Coefficient
2
3
• If r = 1 it is said to be a perfect positive linear correlation. In
such a case, all points in the scatter diagram lie on a straight
line that slopes upward from left to right.
• If r = −1, the correlation is said to be a perfect negative linear
correlation. In this case, all points in the scatter diagram fall
on a straight line that slopes downward from left to right.
• If the points are scattered all over the diagram, as shown in
Figure (c), then there is no linear correlation between the two
variables, and consequently r is close to 0. Note that here r is
not equal to zero but is very close to zero.
• We do not usually encounter an example with perfect positive
or perfect negative correlation (unless the relationship
between variables is exact). What we observe in real-world
problems is either a positive linear correlation with 0 < r < 1.
• or a negative linear correlation with −1 < r < 0
4
• If the correlation between two variables is positive and close to
1, we say that the variables have a strong positive linear
correlation.
• If the correlation between two variables is positive but close to
zero, then the variables have a weak positive linear correlation.
• In contrast, if the correlation between two variables is negative
and close to −1
• then the variables are said to have a strong negative linear
correlation. If the correlation between two variables is
negative but close to zero, there exists a weak negative linear
correlation between the variables.
• Graphically, a strong correlation indicates that the points in
the scatter diagram are very close to the regression line,
5
6
Linear Correlation Coefficient
Example
Calculate the correlation coefficient for the example on incomes
and food expenditures of seven households.
Solution
From earlier calculations made