A coding agent can produce a complete analysis with tests, charts and tables in no time, and that is exactly why nobody notices when it picks an unsuitable test, silently drops missing values or runs a long list of comparisons without correction. Statistical analysis with Claude Code works when you reverse the order: first an analysis plan with hypotheses and decision rules, then code. In this workshop you have Claude Code prepare data with pandas, fit models with statsmodels and SciPy and check assumptions, while you record every decision in the plan and have results recomputed independently.
Who the statistics workshop is for
Researchers, evaluation teams and data analysts in education research, psychology, the social sciences and engineering who analyse data in Python and are confident with basic statistical concepts.
What you'll walk away with
- Write an analysis plan with hypotheses, variables and decision rules before the agent writes any code
- Clean data traceably with pandas and document every exclusion
- Have tests and regression models chosen to suit the question using statsmodels and SciPy, and justify the choice
- Check assumptions such as normality of residuals, equal variances and independence
- Report effect sizes and confidence intervals and handle multiple comparisons correctly
Typical scenarios
- An evaluation of a support programme compares test scores of two groups, and the analysis plan stops the agent from switching afterwards to whichever test gives a significant result.
- In a survey with missing values, the documented cleaning reveals that one subgroup would have dropped out of the analysis almost entirely.
- A regression of test performance on study time is recomputed with an independent script, which uncovers a swapped predictor.
Does this fit your team?
Pick a few dates that suit you. The request is non-binding, and the agenda is tailored in a short call beforehand.
What the statistics workshop covers
- Plan before codeQuestion, hypotheses, variables and decision rules as a file in the repository that the agent must follow.
- Preparing data with pandasLoading, data types, missing values and exclusions, with every step logged and visible in the diff.
- Describing and visualisingDescriptive statistics and charts that show distributions and outliers before any test is run.
- Tests and modelst-tests, non-parametric alternatives and linear models with statsmodels and SciPy, each justified in the plan.
- Assumptions and robustnessResidual diagnostics, equal variances, multiple comparisons and sensitivity analyses.
- Recomputing and reportingIndependent recomputation, effect sizes, confidence intervals and a reproducible notebook for the report.
Before the statistics workshop: prerequisites
- Basic knowledge of statistical tests, regression and confidence intervals
- Some experience with Python and pandas
- Claude Code or a comparable coding agent, set up with Python and Jupyter
Materials you keep
- A template for analysis plans shared by the agent and the team
- An instruction file with statistical rules for Claude Code
- A checklist for recomputing agent-written analyses