Recognizing Dependent Columns in a Data Matrix
One column can be determined by others. Such dependence can leave several coefficient vectors producing the same predictions.
- Source
- Anbloq
- Language
- English
- Created
- Updated
- Chapters
- 4
- Reading time
- 1 min
In this article4 chapters
Trace a two-column relationship
If the second column equals twice the first, coefficients \(a,b\) contribute through \(a+2b\). Choosing \((3,0)\) and \((1,1)\) gives that same combined coefficient. Matrix–vector multiplication shows it row by row.
Check approximate dependence too
Measured columns can be nearly proportional, making coefficient estimates sensitive. Singular values and rank supply information about that sensitivity.[1][2]
Exhibit a nonzero combination that vanishes
If two feature columns in a design matrix are \(c_1=(1,2,4)\) and \(c_2=(2,4,8)\), the second is twice the first. Multiplying by coefficient vector \((2,-1)\) therefore yields zero. Fitting with both columns can give multiple coefficient choices with identical predictions. See matrix multiplication by row.
c2=2c1
A(2,-1)=0
If coefficients a produce a prediction, a+t(2,-1) produce the same prediction in exact arithmetic
Distinguish exact dependence from ill conditioning
Nearly proportional columns need not be exactly dependent, yet coefficients can change drastically with small data perturbations. Use a scale-aware rank assessment and document the threshold.