Documente Academic
Documente Profesional
Documente Cultură
Testing Significance
Intercorrelation Matrix
2
Partial Correlations
KEY CONCEPTS
*****
Correlation
Correlation coefficient
Interpretation of the concepts of magnitude and direction
Use of a scatterplot to diagnose correlation
Deviation score formula for the Pearson Product-Moment Correlation Coefficient
Karl Pearson (1857-1936)
Concepts of:
Sum of cross products
Sums of squares of X & Y
Computational formula for the Pearson Product-Moment Correlation Coefficient
t-test for determining the significance of r and df
Null hypothesis in determining the significance of r
Coefficient of determination
Coefficient of nondetermination
Assumptions for the Pearson r
Linear relationship
X & Y are metric variables
Randomly drawn sample
X & Y are normally distributed in the population
The concept of a nonlinear relationship
Intercorrelation matrix
Caveats in interpreting an intercorrelation matrix
Interpretation of a partial correlation
Zero-order correlation
1st , 2nd, etc. order correlations
Lecture Outline
Intercorrelation matrix
Example
Principles of causality
Caveat
A Correlation Coefficient
-1.0 -0.8 -0.6 -0.4 -0.2 0.0 +0.2 +0.4 +0.6 +0.8 +1.0
Negative Positive
Relationship Relationship
X Y X Y
X Y X Y
No relationship
The Scatterplot
A useful tool for visually identifying the presence
of a possible relationship between two metric
variables.
30
20
10
0
10 20 30 40
AGE
30
30
20
20
10
10
0
20 40 60 80 100 120 140 160
Correlation: Charles M. Friel Ph.D., Criminal Justice Center,
0 Sam Houston State University
12 14 TIME TO16DISPOSITION 18 IN DAYS 20 22 24
An Example
Is There a Correlation Between
Homicide & Rape?
A 4 16
B 6 29
C 10 43
D 5 20
E 1 3
F 2 4
G 3 6
Totals 31 121
12
11
10
1
0
0 5 10 15 20 25 30 35 40 45 50
RAPE
r= Σ (X – X) (Y – Y)
Σ (X – X)2 Σ (Y – Y)2
City X Y (X – X) 2 (Y - Y) 2 (X – X) (Y - Y)
A 4 16 0.1849 1.6641 0.5547
B 6 29 2.4649 137.124 18.4789
C 10 43 31.0249 661.004 143.2047
D 5 20 0.3249 5.7100 1.5447
E 1 3 11.7649 204.204 49.0147
F 2 4 5.9049 176.624 32.2947
G 3 6 2.0449 127.464 16.1447
r= 261.24 = 261.24
Interpretation
r= N(Σ XY) – (Σ X) (Σ Y)
[N Σ X2 – (Σ X)2] [NΣ Y2 – (Σ Y)2]
r = 0.985
The problem
A t-test
t=[r N – 2) ] / 1 – r2
df = (N – 2)
r = 0.985
t = [ 0.985 7 – 2) ] / 1 – (0.985)2
df = (N - 2) = (7 cities - 2) = 5
Interpretation
Coefficients of Determination
& Non-determination
e.g. r = 0.985
r2 = (0.985)2 = 0.97
1 - r2 = (1 - 0.9852)= 0.03
30
20
10
0
10 20 30 40
AGE
Correlations
AGE SENTENCE
AGE Pearson Correlation 1.000 .826**
Sig. (2-tailed) . .000
N 70 70
SENTENCE Pearson Correlation .826** 1.000
Sig. (2-tailed) .000 .
N 70 70
**. Correlation is significant at the 0.01 level (2-tailed).
30
20
10
0
12 14 16 18 20 22 24
Correlations
AGE_FIRS SENTENCE
AGE_FIRS Pearson Correlation 1.000 -.417**
Sig. (2-tailed) . .000
N 70 70
SENTENCE Pearson Correlation -.417** 1.000
Sig. (2-tailed) .000 .
N 70 70
**. Correlation is significant at the 0.01 level (2-tailed).
30
20
10
0
20 40 60 80 100 120 140 160
Correlations
TM_DISP SENTENCE
TM_DISP Pearson Correlation 1.000 -.084
Sig. (2-tailed) . .489
N 70 70
SENTENCE Pearson Correlation -.084 1.000
Sig. (2-tailed) .489 .
N 70 70
An Intercorrelation Matrix
Example
AG E A G E _ F IR S PR _ AR R S T P R _ C O N V S EN T E N C E
AG E P e a rso n C o rr e la tio n 1 .0 0 0 - .3 1 2** .1 7 9 .3 0 2* .8 2 6**
S ig . (2 - ta ile d ) . .0 0 9 .1 3 8 .0 1 1 .0 0 0
N 70 70 70 70 70
AG E _ F IR S P e a rso n C o rr e la tio n -.3 1 2** 1 .0 0 0 -.3 1 5** -.3 5 8** -.4 1 7**
S ig . (2 - ta ile d ) .0 0 9 . .0 0 8 .0 0 2 .0 0 0
N 70 70 70 70 70
PR _ AR R S T P e a rso n C o rr e la tio n .1 7 9 - .3 1 5** 1 .0 0 0 .7 9 5** .2 4 6*
S ig . (2 - ta ile d ) .1 3 8 .0 0 8 . .0 0 0 .0 4 0
N 70 70 70 70 70
PR _ C O N V P e a rso n C o rr e la tio n .3 0 2* - .3 5 8** .7 9 5** 1 .0 0 0 .4 0 0**
S ig . (2 - ta ile d ) .0 1 1 .0 0 2 .0 0 0 . .0 0 1
N 70 70 70 70 70
SEN T E N C E P e a rso n C o rr e la tio n .8 2 6** - .4 1 7** .2 4 6* .4 0 0** 1 .0 0 0
S ig . (2 - ta ile d ) .0 0 0 .0 0 0 .0 4 0 .0 0 1 .
N 70 70 70 70 70
**. C o r re la tio n is sig n ifica n t a t th e 0 .0 1 le ve l ( 2 -ta ile d ) .
*. C o r re la tio n is sig n ifica n t a t th e 0 .0 5 le ve l ( 2 -ta ile d ).
Caveats in Interpreting an
Intercorrelation Matrix
Example
30
20
10
0
10 20 30 40
AGE
Example
30
20
10
0
12 14 16 18 20 22 24
Example
Age
Age at first arrest
Length of sentence
Correlations
X Y
Example
Correlations
rXY.Z ≅ 0.806
Example
What is the correlation between age at first
arrest (X) and length of sentence (Y), partialling
out or controlling for age (Z)?
Correlations
rXY.Z ≅ -0.298
AGE SENTENCE
SENTENCE AGE_FIRS
rxy.zz′
X Y
Z′
Z
Example
Correlations
C o rre la t io n s
- - - P A R T I A L C O R R E L A T I O N C O E F F I C I E N T S - - -
AGE SENTENCE
Correlation = +0.826