Download presentation
Presentation is loading. Please wait.
1
Unit 5 Correlation
2
Relationship Just like it takes two persons to have a romantic relationship, you need at least two variables to form a statistical relationship. A relationship can be shown by a plot or by a number.
3
Scatterplot/Scattergram
The plot for displaying a bivariate relationship is called “scatterplot” or “scattergram” (Cartesian coordinate system). The left-right (horizontal) direction is commonly called the X axis. The up-down (vertical) direction is commonly called the Y axis..
4
Scatterplot When y = 6, the vertical line goes up by six units.
When x = 4, the horizontal line goes across 4 units. The data point is put into the intersection of two lines.
5
Scatter: Spread out Variations in the data Scatter everywhere
6
Different types of correlation coefficient
The number to show a correlation is called correlation coefficient. Pearson’s r is applicable to measure the association between two continuous-scaled variables (Our focus). Spearman is suitable to rank-order/ordinal data We will go through the calculation later.
7
Pearson’s correlation coefficient
Range: From -1 to +1. Pearson’s r = 1 Perfect relationship (It may be too good to be true!) Pearson’s r = 0 No relationship Positive but less than 1: Positive relationship Negative but less than -1: Negative relationship Common mistake: When the coefficient is high, it must be a strong relationship!
8
Pearson’s r = .83
9
Pearson’s r =.83
10
Pearson’s r =.83
11
Pearson’s r =.83
12
Computation in SPSS Use visulization_data.sav in Unit 4
Analyze Correlate Bivariate
13
Computation in SPSS There is no distinction between DV and IV.
Put both college test scores and GPA into variables. The order doesn’t matter. Press OK
14
Computation in SPSS The correlation of test scores and GPA = the correlation of GPA and test scores Don’t worry about what “significance” (sig) means.
15
Computation in JMP In Unit 4 folder: visualization_data.jmp
I want to know the relationship between overall GPA and a particular college test score. Analyze Multivariate Methods Multivariate (It takes multiple variables [at least two])
16
In correlation there is no distinction between DV (Y) and IV (X), and thus both variables are put into Y, columns. What we care is whether X and Y are related; we don’t care about cause and effect.
17
Because there is no distinction between DV and IV, the correlation between GPA and test scores (0.5273) is the same as the correlation between the test scores and GPA (0.5273).
18
Pearson’s r = .5273. It is fair but it could be better!
The eclipse (red line) covers the majority of the data. Any points outside the red line are considered outliers (extreme cases).
19
I can select these outliers (extreme cases) by holding down the shift key and pointing to them one by one.
20
When I go back to the table, I can see that the extreme cases are highlighted in blue.
Mouse over to one of them, right-click and select hide and exclude. These cases will be hidden and excluded.
21
Back to the graph From the first red triangle, choose Redo Redo Analysis
22
Without those outliers, the correlation is stronger.
Pearson’s r = .6129
23
I want to infer from the sample to the population
Red Triangle Pairwise Correlations
24
The confidence interval shows that in the population the correlation may be as low as or as high as
25
Confidence interval Why do we need a bracket (Confidence interval) to estimate the population correlation coefficient? Because we cannot access to the entire population, we are not sure. If you ask me to guess how old you are and I am not sure, I would also put my estimates within a bracket (interval). Because you are in college, I guess your age is between 18 and 22.
26
Semi-hand calculation
To make it easier and faster, use r_hand_calculation.xlsx
27
Semi-hand calculation
The Greek symbol S = Sum Plug the numbers into the equation: 6(20,485) – (247 × 486) / [√[[6(11,409) – (2472)] × [6(40,022) – 4862]]] =
28
Assignment 5.1 Mary’s highs school GPA is 3.5 and her college GPA is 3.7. Tom’s HS GPA is 3.8 and his college GPA is 4.0. If these data are used for computing correlation, what result would you expect? Write down your expectation before making any computation. Next, use SPSS or JMP to compute the correlation coefficient. Does the result match your expectation? Is it a valid result? Why or why not?
29
Assignment 5.2 (Canvas) Use visualization_data (Unit 4).
Compute the Pearson’s r of GPA and SAT. There is no distinction between DV and IV. You can put them in any order. You can use SPSS, JMP, Excel (semi-hand calculation) or hand-calculation.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.