Correlation and Regression Flashcards
Calculating covariance
(∑(x-x̄)(y-ȳ)) / (n-1)
Calculating cross product deviations
- calculate the error between the mean and each subject’s score for the first and second variables
- multiply these error values
Calculating Correlation coefficient
- convert covariance value to a zscore
- divide through by standard deviation
Correlation coefficient
- varies between -1 and +1
- 0 = no relationship
- an effect size
Coefficient of determination
r^2
- proportion of variance in one variable shared by the other
Direction of causality
correlation coefficients say nothing about which variable causes the other to change
The third-variable problem
in any correlation, causality between two variables cannot be assumed because there may be other measures or unmeasured variables affecting the results
ANOVA
analysis of variance (ANOVA) is a statistical method used to test differences between two or more means
R^2
(ssm)/(sst)
sst = total variability (variability between scores and the means)
ssm = model variability (difference in variability between the model and the mean)
F-value
- variation between sample means / variation within the samples
- if your calculated F value in a test is larger than your F statistic, you can reject the null hypothesis
Calculating F-value
- calculate both SDs
- square both SDs (variance)
- Divide the largest variance by the smallest variance
- calculate DFs
- compare calculated F value to the given value, if the calculated value is larger than the given value then you may reject your null hypothesis
Linear regression
- work really well when you have a preponderance of data at the extremes
- the relationship in question may not be linear
- they tell you very little about the biological/biomedical processes at work producing the relationship
- an extension of correlation and a way of predicting the value of one variable from another
- hypothetical model of the relationship between 2 variables
- use equation of a straight line to describe relationship
Equation of a straight line for linear regression
y = m(x-a) + b