This one sprawled in a way I didn't expect.
Start by clarifying the goal: to detect any distributional difference, not just mean shifts. Then propose a combination of global and local tests, such as energy distance or kernel MMD, and discuss practical considerations like dimensionality, sample size, and multiple testing correction.
Pro tip: Mention that you would first reduce dimensionality with PCA or UMAP for visualization and to mitigate the curse of dimensionality, but run the formal test on the original features or a sufficient summary to avoid losing signal.
Confirm whether the goal is to detect any difference or a specific type (e.g., mean, variance, correlation). Check assumptions like independence, identical distribution within groups, and whether features are on comparable scales.
Select tests that capture multivariate differences: energy distance, kernel MMD, or classifier two-sample test. For high dimensions, consider distance-based tests or random projections.
Handle high dimensionality via dimensionality reduction or feature selection, ensure sufficient sample size, and correct for multiple comparisons if testing many feature subsets.
Use permutation tests to obtain p-values without distributional assumptions. If significant, identify which features or directions drive the difference using feature importance or post-hoc tests.
Assess whether the detected difference is meaningful for the product or model. If so, propose actions like region-specific models or further investigation.
AI-generated suggestions, not part of the candidate's original notes. May be inaccurate — verify before relying on them.