How would you address multicollinearity in a dataset before performing linear regression?
Instruction: Explain the methods you would use to detect and resolve multicollinearity.
Updated
Official answer
Multicollinearity concerns near-linear relationships among columns of the design matrix, not only large pairwise correlations. Exact collinearity prevents unique estimation of all ordinary least-squares coefficients; near-collinearity can make individual coefficients unstable with large uncertainty even when predictions in the observed region remain useful.
Inspect the design matrix, coding, singular values or condition diagnostics and variance-inflation factors where defined. VIF rules such as five or ten are heuristics, not automatic deletion thresholds. Centering can improve some numerical or interaction-term issues without removing the underlying information limitation.
Choose a response based on the goal. Remove truly redundant encodings or collect data that vary predictors more independently. For prediction, consider ridge or other regularization and validate out of sample; PCA can help but changes interpretability and must be fitted within training folds. Lasso can select one among correlated variables unstably, and penalized coefficients have different inferential properties from unpenalized estimates.
For a causal question, do not drop a necessary confounder solely to lower VIF. That can trade imprecision for bias. Report identification and uncertainty limits when the available data cannot separate the effects of interest.