Three Segments: - Overview - Calculation of R - Assumptions
Three Segments: - Overview - Calculation of R - Assumptions
Three segments
• Overview
Statistics One • Calculation of r
• Assumptions
Lecture 5
Correlation
1 2
Correlation: Overview
• Important concepts & topics
– What is a correlation?
Lecture 5 ~ Segment 1 – What are they used for?
Correlation: Overview – Scatterplots
– CAUTION!
– Types of correlations
3 4
1
10/12/13
2
10/12/13
9 10
3
10/12/13
13 14
4
10/12/13
17 18
19 20
5
10/12/13
Calculation of r Calculation of r
• Important topics • r = the degree to which X and Y vary together,
– r relative to the degree to which X and Y vary
• Pearson product-moment correlation coefficient independently
– Raw score formula
– Z-score formula
• r = (Covariance of X & Y) / (Variance of X & Y)
– Sum of cross products (SP) & Covariance
21 22
Calculation of r Calculation of r
• Two ways to calculate r • Let’s quickly review calculations from
– Raw score formula Lecture 4 on summary statistics
– Z-score formula
• Variance = SD2 = MS = (SS/N)
23 24
6
10/12/13
27 28
7
10/12/13
29 30
31 32
8
10/12/13
9
10/12/13
10
10/12/13
41 42
43 44
11
10/12/13
Assumptions Assumptions
• Assumptions when interpreting r • Assumptions when interpreting r
– Normal distributions for X and Y – Reliability of X and Y
– Linear relationship between X and Y – Validity of X and Y
– Homoscedasticity – Random and representative sampling
45 46
Assumptions Assumptions
• Assumptions when interpreting r • Assumptions when interpreting r
– Normal distributions for X and Y – Linear relationship between X and Y
• How to detect violations? • How to detect violation?
– Plot histograms and examine summary statistics – Examine scatterplots (see following examples)
47 48
12
10/12/13
Assumptions Homoscedasticity
• Assumptions when interpreting r • In a scatterplot the vertical distance between a
– Homoscedasticity dot and the regression line reflects the amount
• How to detect violation? of prediction error (known as the “residual”)
– Examine scatterplots (see following examples)
49 50
51 52
13
10/12/13
53 54
55 56
14
10/12/13
57 58
Segment summary
• Assumptions when interpreting r
– Reliability of X and Y
– Validity of X and Y
END SEGMENT
– Random and representative sampling
59 60
15
10/12/13
END LECTURE 5
61
16