Agentic Coding · Workshop · Statistics & data analysis

Statistical Analysis with Claude Code and pandas: A Workshop for Sound Results

Let the agent do the computing while you keep statistical control, with an analysis plan written before any code, checked assumptions and results you recompute independently.

  • Workshops & trainings since 2014
  • jocapps GmbH · Freiburg, Germany
  • The team behind Mathe-VollLogo
Format
Workshop
Duration
1 day (7.5 hours)
Delivery
Live online · On-site (in-house) · Hybrid
Group size
4–12 participants
Level
Intermediate
Language
German or English

Tools: Claude Code · Python · pandas · statsmodels · SciPy · Jupyter

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

  1. 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.
  2. In a survey with missing values, the documented cleaning reveals that one subgroup would have dropped out of the analysis almost entirely.
  3. 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.

Request dates

What the statistics workshop covers

  1. Plan before codeQuestion, hypotheses, variables and decision rules as a file in the repository that the agent must follow.
  2. Preparing data with pandasLoading, data types, missing values and exclusions, with every step logged and visible in the diff.
  3. Describing and visualisingDescriptive statistics and charts that show distributions and outliers before any test is run.
  4. Tests and modelst-tests, non-parametric alternatives and linear models with statsmodels and SciPy, each justified in the plan.
  5. Assumptions and robustnessResidual diagnostics, equal variances, multiple comparisons and sensitivity analyses.
  6. 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

How it works

  1. Request with preferred datesTick the date proposals that suit you or name a period of your own.
  2. Short callWe talk about your goals, prior knowledge and the tools your team already uses.
  3. Agenda for your teamYou receive a plan tailored to your group, with exercises that match your subject and material.
  4. Course and materialsThe course runs online, on-site or hybrid, and you keep the materials afterwards.

Why train with us

  • jocapps GmbH has offered workshops and trainings since 2014. The topics have moved with the technology; today the focus is on agentic coding and prompt engineering.
  • Hands-on rather than slides: you practise on realistic examples from maths and STEM, or on your own tasks, code or prompts if you wish.
  • Online, on-site or hybrid, held in German or English.
  • jocapps GmbH is certified to ISO 27001 (information security) and ISO 9001 (quality management).

Questions about the statistics workshop

Can we bring our own data?

Yes, as long as it contains no personal data or has been anonymised first. Otherwise we work with realistic sample data sets from education and engineering. Whether personal research data may be processed with a coding agent at all is for your data protection officer to answer.

Why Claude Code rather than a chat assistant?

A coding agent works directly in your project folder, runs code, sees error messages and keeps changes under version control. That makes the analysis reproducible and checkable. The principles of the workshop apply equally to other coding agents with similar capabilities.

We work in R rather than Python. Is the workshop still a fit?

The approach with an analysis plan and recomputation is language-independent, but the exercises use Python and pandas. For R teams the catalogue has a separate training with the tidyverse and Quarto that follows the same principle.

Is the workshop held online or on-site, and in which language?

Both are possible: live online, at your premises (in-house) or hybrid. The course is held in German or English; you choose when you send the request.

Can the content be tailored to our team?

Yes. The agenda, examples and emphasis are agreed in the call beforehand, based on your team's prior knowledge, subjects and tools. On request we work with your own exercises, data or code.