Week 4 - Correlations and linear regression Flashcards
If a research question has the words “relationship between X and Y” or “after controlling for Z, is there an association between X and Y?”
What kind of statistical analysis would be appropriate for these questions?
Correlations and regression
What is a correlation?
A statistical technique for measuring the extent to which two variables are associated/ related.
Measures the pattern of responses across variables.
Assumes linear association between variables
Changes in one leads to predictable changes in another variable
Usually a bivariate association
How is an association/ relationship determined?
When changes in one variable can show persistent and predictable changes in other variables
Does correlation always mean causation?
No, because a third variable might be causing the observed associations
What is the range of values for a correlation
-1 (perfect negative) to +1 (perfect positive)
0 = no association therefore represents the null hypothesis
How s the significance of a correlation determined?
- sample size (n)
- alpha value (one (0.05) vs two-tailed (0.05)
- –> e.g. predicting one direction (positive or negative) or two direction
Which type of alpha has greater statistical power? one-tailed or two tailed?
A one-tailed test because it only tests in one direction (very confident hypothesis is in that direction - back up with theory)
What does variance measure?
How much the scores deviate from the mean of the distribution (one-variable)
variance = average squared distance from the mean
What does covariance measure?
How much TWO variables differ from the mean
instead of sum of squares, sum of cross products are observed
What are the problems with covariance?
How are they fixed?
UNIT OF MEASUREMENT - e.g. covariance of two variables might be measured in miles = 4.25 but then if converted to km the covariance is 11
–> standardise it (divide by the SD of both variables)
The standardised version of a covariance is known as the ____
correlation coefficient
- unaffected by units of measurement
- makes the variances equal
covariance = standardised/unstandardised
whereas Pearson correlation = standardised/unstandardised
covariance = unstandardised
Pearson correlation= standardised
What does Pearson Correlation tell us?
Direction + strength of linear relationship between two interval/ratio variables (continuous data)
What symbol denotes Pearson Correlation
r
r = strength and direction
What does the size/magnitude of ‘r’ denote?
degree to which points fit on a straight line. Closer to 1 = more straight line indicating a linear relationship
+1 positive relationship
-1 negative relationship
0 = no relationship/ two variables are independent of one another