/data-analyst:standard-deviationfrom data-analyst
Computes standard deviation, variance, IQR, MAD, and CV for numeric columns in datasets. Handles sample vs. population formulas, grouped computation, and flags when SD is misleading due to skew or outliers.
Ships in data-analyst. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Compute standard deviation for one or more numeric columns, plus the context needed to actually use the number: sample vs. population formula, comparison to related spread measures, and warnings when SD is the wrong summary.
sample (n-1 denominator, default) or population (n denominator). Default is sample, because almost all real data is a sample of something.duckdb — built-in stddev_samp(), stddev_pop(), variance(), quantile_cont().uv run --with pandas --with scipy python -c '...' — MAD, trimmed SD, bootstrap CI for SD.For each candidate numeric column:
Report any column you skipped and why.
For each column (and each group, if grouping):
| Statistic | What it tells you |
|---|---|
n (non-null count) | Sample size the SD is based on. |
mean, median | Centre. If they differ substantially, distribution is skewed. |
stddev_samp | Standard deviation, n-1 denominator. Default report value. |
variance_samp | Square of SD. Report if user explicitly wants it. |
min, max | Range. Flag if max is >10× the 99th percentile — outlier pulling SD up. |
q25, q75, IQR | Robust spread — compare to SD. |
mad (median absolute deviation) | Robust SD analogue. MAD × 1.4826 ≈ SD if data is normal. |
cv (coefficient of variation) = SD / mean | Dimensionless spread. Only meaningful when mean > 0 and the column has a natural zero (not temperatures-in-C). |
SQL sketch in DuckDB:
SELECT
count(col) AS n,
avg(col) AS mean,
median(col) AS median,
stddev_samp(col) AS sd,
quantile_cont(col, 0.25) AS q25,
quantile_cont(col, 0.75) AS q75,
quantile_cont(col, 0.75) - quantile_cont(col, 0.25) AS iqr,
min(col) AS min,
max(col) AS max
FROM '<file>';
For each column, check:
Compute Step 2 statistics per group. Additionally surface:
stddev(group_means) to mean(group_sds)).Write outputs/standard-deviation/report.md:
trust flag (ok / skewed / heavy-tailed / small-n / near-constant).Keep it concise. SD is a primitive; this skill should feed other skills, not produce a wall of prose.
multivariate-analysis (which needs standardised inputs) and forensic-sweep (which uses SD patterns to detect tampering).What SKILL.md sets; muted values are Claude Code's defaults
14 skills in this plugin
/anomaly-analysisScan a dataset for significant anomalies — outliers, distribution shifts, impossible values, and unusual groupings. Use when the user wants a first-pass integrity and anomaly sweep of a CSV/Parquet/Excel file before deeper analysis./correlation-analysisDetect and compute correlations between numeric variables in a dataset. Use when the user wants to see how variables in a CSV/Parquet/Excel file move together — Pearson, Spearman, or Kendall — with a short report flagging the strongest positive and negative pairs./data-dictionary-creatorGenerate a data dictionary for a dataset, combining automatic profiling with the user's description of what the data represents. Use when the user wants documentation of columns — names, types, semantic meaning, units, allowed values, and nullability — for a CSV/Parquet/Excel file./data-enrichmentIdentify what the user is trying to analyse, diagnose gaps in the current dataset, propose external data sources that could fill them, then plan and implement the enrichment. Use when the dataset alone can't answer the user's question and extra context (reference data, lookups, joinable public datasets) is needed./data-reportingProduce a parametric PDF report describing a dataset — size, schema, distributions, key statistics, and findings from other skills — compiled via Typst. Use when the user wants a shareable, print-ready document about their data, not a one-off markdown summary./forensic-sweepScan a dataset for signs that it has been pre-cleaned, normalised, imputed, smoothed, deduplicated, or otherwise processed before the user received it — data that is "suspiciously clean". Flag findings so the user knows whether they're analysing raw reality or someone else's editorial choices.claude-data-analyst@danielrosehill is listed by theantagonist2020/samr — review the source before installing
npx claudepluginhub theantagonist2020/samr --plugin claude-data-analyst2 plugins ship this exact skill · first indexed Oct 15, 2026
Other plugins' skills for the same job