Documentos de Académico
Documentos de Profesional
Documentos de Cultura
# #
#
5 6
4
How could you measure the
strength of the relationship?
Correlation Analysis
Correlation is another way of
assessing the relationship between
variables.
y y
x x
y y
x x
No relationship
x
Correlation is the strength of linear
association between two numerical
variables in a population is determined
by the correlation coefficient, r, whose
range is -1 to +1.
Correlation
Only concerned with strength
of the relationship
No causal effect is implied
a. What type of correlation do we have if the correlation coefficient is -0.43?
b. What type of correlation do we have if the correlation coefficient is 0.74?
c. What type of correlation do we have if the correlation coefficient is 0.03?
d. What type of correlation do we have if the correlation coefficient is -0.81?
e. What type of correlation do we have if the correlation coefficient is -0.61?
a. Weak negative.
b. Strong positive.
c. Weak positive.
d. Strong negative.
e. Strong negative
SCATTER PLOT
12
10
0
0 2 4 6 8 10 12
Evaluation ( 10mins)
1. An investigator is interested in predicting scores for a measure of cognitive function
from the number of hours of sleep a person gets on average. She obtains scores for both
the number of hours of sleep and cognitive function from 10 people. Higher scores for
cognitive function reflect higher levels of performance.
Hours of Cognitive
Sleep Function
2.5 45
5.5 79
6 72
7 62
9 122
8 89
10 76
4.5 65
11 110
7.5 92
SCATTER PLOT
140
120
100
80
60
40
r=0.770861
20
0
0 2 4 6 8 10 12
Note:
1. Perfect positive correlation: all the points lie along a line
with positive slope.
2. Perfect negative correlation: all the points lie along a line
with negative slope.
3. If the points lie along a horizontal or vertical line: no
correlation.
4. If the points exhibit some other nonlinear pattern: no linear
relationship, no correlation.
5. Need some way to measure correlation.
Assignment
• An investigator obtains scores for job satisfaction and
blood pressure from each of 10 employees. Higher
scores for job satisfaction reflect higher levels of job
satisfaction.
• What is the correlation coefficient between Job
Satisfaction
• Please provide a scatterplot with the systolic BP on the X-
axis and scores for job satisfaction on the Y-axis.
Job Systolic
Satisfaction BP
• Job Systolic
• Satisfaction BP
• --------------- ---------
• 34 124
• 23 128
• 19 157
• 43 133
• 56 116
• 47 125
• 32 147
• 16 167
• 55 110
• 25 156