Correlation and Multicollinearity

0%
Theory
Quiz

    Correlation Fundamentals

    • What is correlation and what does a correlation coefficient tell you?

      Junior
    • What is the difference between covariance and correlation? Why is correlation often preferred?

      Junior
    • What is the range of a correlation coefficient, and what do values like -1, 0, and +1 signify?

      Junior
    • Can you write down the Pearson correlation formula and explain its terms?

      Junior
    • How is correlation related to covariance?

      Junior
    • What is the difference between r and r-squared?

      Junior
    • What is the correlation of a variable with itself?

      Junior
    • What happens to the correlation coefficient if one of the variables is constant or has zero variance?

      Junior
    • What is the difference between uncorrelated variables and independent variables?

      Mid
    • What is the difference between correlation and the slope in a linear regression?

      Mid
    • Explain why covariance is scale-dependent and how correlation addresses this.

      Mid
    • Why is correlation invariant to linear rescaling of the variables?

      Mid
    • What mathematical properties does a correlation matrix always have (symmetry, unit diagonal, positive semi-definiteness)?

      Mid
    • When you compute a correlation matrix in pandas, how are non-numeric columns and missing values handled, and why does that matter?

      Mid

    Correlation Vs Causation

    • Explain the concept 'correlation does not imply causation' and why it's important in data analysis.

      Junior
    • What is a spurious correlation and what causes it?

      Junior
    • How can a lurking or confounding variable produce a misleading correlation?

      Mid
    • What is reverse causation and how does it fit into the correlation-causation trap?

      Mid
    • What is ecological correlation and why can aggregated data mislead?

      Senior

    Pitfalls & Limitations Of Correlation

    • What does Anscombe's quartet demonstrate about correlation?

      Junior
    • Why does the Pearson correlation coefficient only measure linear association, and what happens if the true relationship is curved?

      Mid
    • How sensitive is the Pearson correlation to outliers, and what effect can a single outlier have?

      Mid
    • What is Simpson's paradox and how can it reverse a correlation?

      Mid
    • What does the Datasaurus dozen demonstrate about relying on a correlation coefficient or summary statistics alone?

      Mid
    • What is restriction of range and how can it impact the observed correlation between two variables?

      Senior
    • What is attenuation of correlation due to measurement error?

      Senior
    • Can you correct an observed correlation for attenuation due to measurement error, and what does the correction require?

      Senior

    Rank Based Correlation Methods

    • When would you use Spearman's rank correlation coefficient instead of Pearson's? What are the key differences and assumptions?

      Mid
    • Explain the differences between Pearson, Spearman, and Kendall Tau correlation coefficients, and when would you use each?

      Mid
    • What is Kendall's tau and how is it defined in terms of concordant and discordant pairs?

      Mid
    • How do rank-based correlation coefficients handle ties?

      Mid
    • Which correlation coefficient is more robust to outliers and non-normality, and why?

      Mid
    • How does applying a monotonic but non-linear transformation to a variable affect its Pearson versus Spearman correlation with another variable?

      Mid
    • Explain Kendall's Tau. When is it preferred over Spearman's correlation?

      Senior

    Categorical & Binary Correlation

    • How do you measure the association or correlation between two categorical variables?

      Mid
    • How do you measure the association or correlation between a continuous variable and a categorical variable?

      Mid
    • How do you measure correlation when one variable is binary — what is the point-biserial correlation?

      Mid
    • Why is using a plain Pearson correlation coefficient on one-hot encoded or nominal categorical data generally inappropriate or misleading?

      Senior
    • How do you calculate and interpret correlation when one or both variables are binary or categorical (e.g., point-biserial, phi, Cramer's V)?

      Senior
    • What is the correlation ratio (eta), and how does it capture non-linear or categorical-to-continuous association that Pearson's r misses?

      Senior
    • What is the difference between biserial and point-biserial correlation?

      Senior

    Significance & Inference

    • What is the difference between statistical and practical significance of a correlation?

      Junior
    • How does sample size affect the statistical significance of a correlation coefficient? Can a very small correlation be statistically significant?

      Mid
    • How do you test whether a correlation coefficient is statistically significant?

      Mid
    • What assumptions underlie the significance test for Pearson's correlation coefficient?

      Mid
    • What is the Fisher z-transformation and why is it needed for inference on a correlation?

      Senior
    • How do you construct a confidence interval for a correlation coefficient?

      Senior

    Multicollinearity Fundamentals

    • What is multicollinearity in the context of regression analysis?

      Junior
    • What is multicollinearity, and what are its common sources in a regression model?

      Junior
    • Differentiate between perfect multicollinearity and imperfect (or near) multicollinearity.

      Mid
    • What is the dummy variable trap and how does it cause perfect multicollinearity? How do you avoid it when encoding categorical features?

      Mid
    • What is the difference between collinearity and multicollinearity?

      Mid
    • How do polynomial and interaction terms introduce multicollinearity?

      Mid
    • What are common sources of multicollinearity in a dataset, beyond just high pairwise correlations?

      Senior
    • What is the difference between structural and data-based multicollinearity?

      Senior
    • How can a variable be a near-perfect linear combination of several others without any large pairwise correlation?

      Senior
    • Why does perfect collinearity make X-transpose-X singular so OLS has no unique solution?

      Senior

    Consequences Of Multicollinearity

    • Is high correlation between a predictor and the target variable a problem, and how does it differ from correlation among the predictors themselves?

      Junior
    • What are the main consequences of multicollinearity on the estimated coefficients and standard errors in a linear regression model?

      Mid
    • Why is multicollinearity a problem in linear regression?

      Mid
    • Does multicollinearity affect the overall predictive power or the fitted values of a regression model?

      Mid
    • How does multicollinearity affect the interpretability of individual predictor effects in a regression model?

      Mid
    • Explain how multicollinearity can lead to wide confidence intervals for regression coefficients.

      Mid
    • Why does multicollinearity make coefficient estimates extremely sensitive to adding or removing a few observations or a single predictor?

      Mid
    • Why do regression coefficients become unstable and prone to sign-flipping in the presence of severe multicollinearity?

      Senior
    • If the overall F-test for a regression model is significant, but individual t-tests for several predictors are not, what might you suspect and why?

      Senior
    • Does multicollinearity bias the OLS coefficient estimates? What about the fitted values and predictions?

      Senior
    • How does multicollinearity impact the p-values of individual coefficients, the overall F-test, and the R-squared value of a regression model?

      Senior
    • Does multicollinearity affect logistic regression the same way it affects OLS?

      Senior

    Detecting Multicollinearity

    • How do you detect multicollinearity in a regression model?

      Junior
    • What does a VIF of 1 mean?

      Junior
    • Why is simply looking at a pairwise correlation matrix not sufficient to fully detect multicollinearity?

      Mid
    • Explain the Variance Inflation Factor (VIF). How is it calculated, and what does a VIF value of 1, 5, or 10 signify?

      Mid
    • What is Tolerance in the context of multicollinearity, and how does it relate to VIF?

      Mid
    • How do you detect and handle correlation between variables in linear regression?

      Mid
    • What values of VIF did you use to remove multicollinearity, and why?

      Mid
    • How do you interpret VIF values, and what are common rules of thumb (e.g., VIF > 5 or VIF > 10)?

      Mid
    • Why are the VIF thresholds of 5 and 10 conventions rather than hard rules?

      Mid
    • Why does statsmodels VIF require an explicitly added constant column, and what happens if you forget it?

      Mid
    • How does the VIF relate to the inflation of a coefficient's standard error — why is the square root of VIF the relevant multiplier?

      Mid
    • How can eigenvalues and condition indices of the correlation matrix be used to detect multicollinearity? What are typical thresholds?

      Senior
    • What are other diagnostic tools for multicollinearity besides VIF (e.g., condition number, eigenvalues, tolerance)?

      Senior
    • Where does the 'inflation' interpretation of VIF come from via the auxiliary regression?

      Senior
    • What is generalised VIF and when do you need it for categorical terms?

      Senior
    • What is the condition number and how is it used to diagnose multicollinearity?

      Senior
    • Why does scaling matter before computing condition number or eigenvalue diagnostics?

      Senior
    • How can the determinant of the correlation matrix be used as a diagnostic for multicollinearity?

      Senior

    Remedies For Multicollinearity

    • What are some common strategies or remedies to address multicollinearity in a regression model?

      Mid
    • When considering dropping one of several highly correlated predictors, how would you decide which one to remove?

      Mid
    • How can combining or averaging correlated variables help mitigate multicollinearity?

      Mid
    • What is multicollinearity and how will you handle it in your regression model?

      Mid
    • How would you explain the tradeoff of a multicollinearity remedy to a non-technical stakeholder?

      Mid
    • Does collecting more data or data with better spread help with multicollinearity, and why?

      Mid
    • In what situations might you choose to do nothing about multicollinearity, and why?

      Senior
    • How do regularization techniques like Ridge regression help mitigate multicollinearity?

      Senior
    • Why is centering important for polynomial and interaction terms when dealing with multicollinearity?

      Senior
    • Can Principal Component Analysis (PCA) be used as a remedy for multicollinearity? What are the advantages and disadvantages of this approach?

      Senior
    • Why is lasso's arbitrary pick among correlated features a caveat when using it as a remedy?

      Senior

    Partial Correlation & Model Specific Effects

    • What is partial correlation and how does it control for a third variable?

      Mid
    • Does multicollinearity affect tree-based models in the same way it affects linear regression? Why or why not?

      Senior
    • How can multicollinearity impact feature importance scores such as permutation importance or SHAP values in tree-based or other complex models?

      Senior
    • What is the difference between partial and semi-partial correlation?

      Senior