qtm110.io

Module 2: Correlation Intuitive Introduction

Basic Description

Descriptive Questions: Questions that describe the world as it is.

Algorithms: Rules that allow us to input data and get outcomes (usually a number).

Three Definitions of Average

Correlation Intuitive Introduction

Correlation: the extent to which two features of the world tend to occur to together.

Sign of Correlation

Note: we can often transform a positive to negative and vice versa by redefining.

Sometimes two variables will be “spuriously correlated,” meaning two random variables are correlated by chance.

As \(X\) rises, \(Y\)… Type of Correlation/Covariance Value of Correlation
Rises Positive \(\text{corr}(X,Y)>0\)
Does Not Change None (variables are uncorrelated or independent) \(\text{corr}(X,Y)=0\)
Falls Negative \(\text{corr}(X,Y)<0\)

Formalizing Correlation

Comparison between Covariance and Correlation

As \(X\) rises, \(Y\)… Type of Correlation/Covariance Value of Covariance Value of Correlation
Rises Positive \(\text{cov}(X,Y)>0\) \(0<\text{corr}(X,Y)\leq1\)
Does Not Change None (variables are uncorrelated or independent) \(\text{cov}(X,Y)=0\) \(\text{corr}(X,Y)=0\)
Falls Negative \(\text{cov}(X,Y)<0\) \(-1\leq\text{corr}(X,Y)<0\)

More on Correlation

\[\beta=\dfrac{\text{cov}(X,Y)}{\sigma_X^2}\]

Uses of Correlation

Linearity

Candidates for Causation

Counterfactual Dependence

Quantity \(E[Y_1\mid T=1]\) \(E[Y_0\mid T=0]\) \(E[Y_1\mid T=0]\) \(E[Y_0\mid T=1]\)
Description Average outcome in treated group Average outcome in untreated group Average outcome in the untreated group if they’d been treated Average outcome in the treated group if they’d been untreated
Factual (Observed) or Counterfactual? Factual Factual Counterfactual Counterfactual

Limits to Counterfactual Dependence