Linear Relationships and Causal Inference

Compare patterns of association and consider what would be needed to establish causation.

Formula

r=\frac{∑_i(x_i-\bar{x})(y_i-\bar{y})}{\sqrt{∑_i(x_i-\bar{x})^2∑_i(y_i-\bar{y})^2}}

Formula Key

r
Pearson correlation coefficient
xᵢ, yᵢ
Paired values at observation i
x̄, ȳ
Means of x and y
i
Pair index
Σ, ∑
Sum over the items or observations
²
Square
sqrt
Take the square root

Assumptions and Limitations

Correlation measures linear association, does not establish causality; zero variance makes coefficient undefined.

Content Strands S15 · Social Science Research