All labs
Conditioning, Collinearity, and Unstable Coefficients
Watch the condition number of a design matrix explode and see exactly which quantities become unidentifiable — and which do not.
Ch 3 3.5
Diagnostic
Mathematical Core
20 mindifficulty 3/5Controls
0.950
Pushes the design matrix toward singularity.
1.500
120
200
Independent datasets, each refit from scratch.
Solver
Random seed
Every result on this page is a deterministic function of the seed and the controls.
Design geometry
Each point is one row of the design matrix.
As ρ → 1 the cloud collapses onto a line: the columns nearly coincide, so the data cannot distinguish β₁ from β₂.
Sampling distributions of the coefficients
200 independent datasets, refit each time. True β₁ = 1.5, β₂ = −1.
β̂₁ across refitsβ̂₂ across refits
Condition number κ(X)
6
σ_max / σ_min
VIF
10.26
1/(1−ρ²)
β̂₁ (this dataset)
1.716
true 1.5
β̂₂ (this dataset)
-1.181
true −1
SD of β̂₁ across refits
0.437
SD of β̂₁ + β̂₂
0.148
the sum stays stable
R²
0.205
unharmed by collinearity
Residual SE
1.573
true σ = 1.50
