Stata Lecture 5 Flashcards

1
Q

Define correlation

A

Association between two variables

Extent to which values in one variable influence the values in another variable

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Two ways by which correlation can be represented/observed/summarised

A

Scatter Plots

Correlation Coefficients

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What does a correlation coefficient tell you?

A

Quantifies the strength of association between two variables

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

When is Pearson Correlation Coefficient used?

A

Quantifies the strength of association between two quantitative variables that have a linear correlation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How are the results of the Pearson Correlation coefficient interpreted?

A

Possible values range from -1 to 1
r=1 means perfect positive correlation
r-0 means no correlation
r=-1 means perfect negative correlation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

When is Spearmans correlation coefficient used?

A

Quantifies the strength of association between two quantitative variables that do not have a linear correlation, but are monotonic

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Define monotonic

A

Either never positive or never negative

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is an R squared value?

aka coefficient of determination

A

Proportion of variation in one variable that can be explained/predicted by another variable

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

How is R square calculated?

A

(Pearson correlation coefficient) Squared

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

How to interpret the R squared value?

A

Takes values between 0 and 1
If 0 then no variation is explained
If 1 then all variation is explained

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is linear regression used for?

A

Creates a mathematical equation that describes a linear relationship between two variables, in the form y=mx+c
The equation can be used to predict the value of one variable using the other

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What are the 2 assumptions of linear regression?

A

The outcome is quantitative

The relationship is linear

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is homoscedasticity

A

Constant variance of the residuals

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What are residuals?

A

(Observed value for Y) - (Predicted value for y using x)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What are the two correlation coefficients?

A

Pearson’s correlation coefficient

Spearman’s rank correlation coefficient

How well did you know this?
1
Not at all
2
3
4
5
Perfectly