statistics-math
Skill by foryourhealth111-pixel
Provides Python examples for statistics, probability, linear algebra, and regression in data science work. It covers descriptive statistics, hypothesis tests, A/B testing, and regression comparisons. It is aimed at foundational data science and machine learning work.
Install statistics-math
Built from the published package, never by AI.
git clone --depth 1 https://github.com/foryourhealth111-pixel/Vibe-Skills /tmp/Vibe-Skills && mkdir -p ~/.claude/skills && cp -r /tmp/Vibe-Skills/bundled/skills/statistics-math ~/.claude/skills/statistics-mathRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/foryourhealth111-pixel/Vibe-Skills /tmp/Vibe-Skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/Vibe-Skills/bundled/skills/statistics-math ~/.gemini/antigravity-cli/skills/statistics-mathAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The statistics-math skill is a SKILL.md file covering mathematical foundations for data science, machine learning, and statistical analysis. It includes Python code examples built on NumPy, SciPy, scikit-learn, and statsmodels. Topics include descriptive statistics, probability distributions such as normal, binomial, and Poisson, and a Central Limit Theorem demonstration.
The skill also covers hypothesis testing with t-tests, chi-square tests, and a two-proportion z-test for A/B testing. Linear algebra examples include matrix operations, eigenvalues, singular value decomposition, and cosine similarity. Regression examples compare OLS, Ridge, and Lasso models. The skill is listed as foundational, is bonded to a data scientist agent, and is version 2.0.0, last updated 2025-01. It is meant for people doing data science, machine learning, or statistical analysis.
Written from the project's SKILL.md and checked against it.
What it can do
- Descriptive statisticsCalculates mean, median, standard deviation, and interquartile range with NumPy.
- Probability distributionsComputes CDF, PMF, and percentiles for normal, binomial, and Poisson distributions.
- Hypothesis testingRuns independent t-tests and chi-square tests with SciPy and reports significance.
- A/B test analysisRuns a two-proportion z-test that returns conversion rates, lift, and p-value.
- Linear algebra operationsShows matrix multiplication, inverse, determinant, eigenvalues, SVD, and linear solves.
- Cosine similarityComputes cosine similarity between two vectors for recommendation-style use cases.
- Regression comparisonFits OLS, Ridge, and Lasso models and compares R-squared and RMSE on test data.
- Assumption checksShows a Shapiro-Wilk normality check before running tests.
What you need
- Python
- NumPy 1.26+
- SciPy 1.12+
- pandas 2.2+
- statsmodels 0.14+
- scikit-learn 1.4+
Try asking
- Run a two-sample t-test and report Cohen's d for these two groups
- Calculate the lift and p-value for my A/B test conversion counts
- Compare OLS, Ridge, and Lasso regression on my dataset
Good to know
- Examples use random data without a fixed seed, so results change between runs.
- The skill is a reference of code snippets and does not run analyses on its own.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: bundled/skills/statistics-math/SKILL.md, bundled/skills/statistics-math/scripts/validate.py. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md8 KB -
assets/config.yaml696 B -
assets/schema.json1 KB -
references/GUIDE.md2 KB -
references/PATTERNS.md2 KB
Show all 6 files
-
scripts/validate.py4 KB
Alternatives to statistics-math
All alternatives →Guides an assistant through the Kaggle CLI, covering competitions, datasets, notebooks, models, benchmarks, authentication and quota. It is for people who use the kaggle command-line tool.
Generates Python code that uses BigQuery DataFrames (BigFrames) for data processing, analysis and machine learning on BigQuery. It is meant for Python data tasks, and the source says to use bigquery-basics for SQL-first workflows.
Discovers connected data sources and proposes loading options when a workspace lacks the data a question needs. Suited to users who want to connect database, warehouse or cloud sources from the chat.
Guides developers through enabling the Data Manager API, setting up Application Default Credentials, and installing its client libraries. Built for developers who are getting started with the API and need local environment and access setup.
Guides authoring and validating Apache Airflow DAGs for Managed Service for Apache Airflow (MSAA), formerly Cloud Composer. Built for developers who create or extend Airflow DAGs in these environments.
Extracts structured JSON data from over 40 websites, including Amazon, LinkedIn, Instagram, TikTok, Facebook and YouTube. Built on Bright Data's Web Data APIs, it returns product details, profiles, reviews, posts and comments from a URL.
Compare with kaggle-cli, bigquery-bigframes or data-loading
statistics-math: common questions
Which Python libraries does this statistics skill use?
The examples use NumPy, SciPy, pandas, statsmodels, scikit-learn, and matplotlib. The source lists versions for NumPy, SciPy, pandas, statsmodels, and scikit-learn.
Does this skill cover A/B testing?
Yes. It includes a two-proportion z-test function that returns conversion rates, lift, z-statistic, p-value, and a significance flag.
What does the skill advise about p-values?
It advises using effect sizes, correcting for multiple comparisons with Bonferroni, and reporting confidence intervals. It also warns against p-hacking and confusing correlation with causation.
How do I install statistics-math?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is statistics-math free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is statistics-math safe to use?
It scores 87 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to statistics-math?
Similar skills: kaggle-cli, bigquery-bigframes, data-loading, data-manager-api-setup.