exekiel179/pingouin-psych-stats/pg-multivariate
Claude Code and agent skill by exekiel179/pingouin-psych-stats
- community
Checking that the SKILL.md file is still in the repository.
Run or generate Pingouin code for multivariate comparisons — Hotelling's T-squared test (multivariate_ttest) — plus the multivariate assumption checks box_m (equal covariance) and multivariate_normality, for designs with several dependent variables.
Install
npx vskill@latest install exekiel179/pingouin-psych-stats/pg-multivariateSKILL.md
PG Multivariate
Use when several continuous dependent variables are compared together (a mean-vector / profile question), rather than one outcome at a time.
Load
Read:
../../references/supervision-gates.md../../references/pingouin-api-quickref.md../../references/apa-output-template.mdif writing results.
Decision Rules
- Compare one group's mean vector to a reference (one-sample) ->
pg.multivariate_ttest(X). - Compare mean vectors of two independent groups ->
pg.multivariate_ttest(X, Y). - Paired multivariate comparison (same participants) ->
pg.multivariate_ttest(X, Y, paired=True). - Check equal covariance matrices across groups (assumption) ->
pg.box_m(data, dvs, group). - Check multivariate normality (assumption) ->
pg.multivariate_normality(X).
Required Inputs
- Two or more continuous dependent variables (the outcome vector).
- Grouping column for the two-sample test and Box's M.
- Whether the comparison is one-sample, independent, or paired.
X/Yare arrays or frames of shape (n, k); drop rows with missing DVs first.
Code Patterns
Hotelling's T-squared, two independent groups:
One-sample (mean vector vs zero; subtract a reference first if needed):
Assumption checks:
Output Checks
multivariate_ttest returns index hotelling with T2, F, df1, df2, pval. box_m returns Chi2, df, pval, equal_cov (bool). multivariate_normality returns (hz, pval, normal); normal=False warns against assuming multivariate normality.
Guardrails
- Hotelling's T-squared needs n greater than the number of DVs and roughly multivariate-normal data; check
multivariate_normality. - A significant Box's M (unequal covariance) undermines the pooled test; report it.
- Pingouin covers Hotelling's T-squared, not full factorial MANOVA — for that recommend statsmodels or R.
- Report T2, F, df, p, and which assumption checks were run.
- End result-bearing answers with one compact S0-S5 audit line.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/pg-multivariate/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/exekiel179/pingouin-psych-stats/pg-multivariate)