Association Of Two Variables Flashcards
1
Q
What are the 2 types of correlation coefficient?
A
- Pearson’s correlation coefficient
- Spearman’s correlation coefficient
2
Q
Correlation coefficient is represented as:
A
R= the strength of association, from -1 to +1
3
Q
How to test the correlation coefficient of 2 variables?
A
Null hypothesis, Ho: there is no linear association between variables
P-value: the probability that the variables are related
- p>0.05: accept null hypothesis, there is no relation between variables
-p<0.05: reject null hypothesis, there is a relation between variables
4
Q
Pearson’s correlation coefficient is used when..
A
- continuous vs continuous variable
- measures the effect of change in one variable when the other variable changes
- e.g. hypothesis: up until a certain age, a child’s height will keep increasing as his/her age increases
5
Q
Spearman’s correlation coefficient is used when..
A
- ordinal vs ordinal variable OR ordinal vs continuous variable
- e.g. hypothesis, students who do well in math will do well in science
6
Q
Chi-squared test
A
- tests if 2 categorical variables are related in a population
- null hypothesis, Ho: there is no association between the variables
- usually involves tabulated data in rows and columns
- nominal vs nominal variable OR nominal vs ordinal variable
- e.g. hypothesis: education level and marital status are related in SG