From claude-data-analyst
Test relationships among three or more variables simultaneously — partial correlations, controlled effects, multicollinearity, interaction terms, and dimensionality reduction. Use when a pairwise correlation sweep isn't enough and the user wants to know how variables behave together, which effects survive when others are held constant, and which clusters of variables move as one.
npx claudepluginhub danielrosehill/claude-code-plugins --plugin claude-data-analystThis skill uses the workspace's default tool permissions.
Go beyond pairwise correlation. Tell the user which variables *actually* drive the target once the others are accounted for, which variables are redundant, and which combinations reveal structure that no single pair shows.
Conducts multi-round deep research on GitHub repos via API and web searches, generating markdown reports with executive summaries, timelines, metrics, and Mermaid diagrams.
Share bugs, ideas, or general feedback.
Go beyond pairwise correlation. Tell the user which variables actually drive the target once the others are accounted for, which variables are redundant, and which combinations reveal structure that no single pair shows.
correlation-analysiscorrelation-analysis — "is A related to B?" Pairwise ranking.multivariate-analysis — "with A, B, C, D all in play, which matter, which are redundant, and are there interactions or latent factors?"If the user says "correlation" but lists more than two variables of interest, or has a target they want to "explain", this is the right skill.
duckdb — correlation matrices, VIF precursors (regression residuals), standardisation.uv run --with pandas --with scipy --with statsmodels --with scikit-learn python -c '...' — partial correlation, VIF, PCA, factor analysis, OLS with interactions.Compute the full pairwise correlation matrix (Pearson by default; switch to Spearman if any variable is heavily skewed or ordinal). Surface:
1 - |r|).Save the matrix as outputs/multivariate/corr_matrix.csv and a heatmap if the user wants visuals.
For each pair of candidates (or each candidate vs. target), compute the partial correlation controlling for all other candidates. This is the key move: it tells you whether A↔B survives once C, D, E are held constant.
Report:
Compute Variance Inflation Factor (VIF) for each predictor against the others.
Report the VIF table and name the minimal set of variables to drop to bring everything below 5.
Fit three complementary models and compare:
Surface:
Run PCA on the standardised numeric matrix. Report:
Optionally: factor analysis if the user wants latent constructs rather than variance-maximising axes.
Repeat Steps 2, 3, 5 within each group. Surface:
Write outputs/multivariate/report.md with: