TL;DR
StatABench is a comprehensive new benchmark designed to evaluate the statistical analysis capabilities of Large Language Models (LLMs) across both conceptual understanding and practical tool use. Comprising a closed-form QA track (Stat-Closed) and a complex, open-ended modeling track (Stat-Open), the benchmark reveals that even state-of-the-art models like GPT-5.1 struggle with tool-grounded statistical reasoning, highlighting a substantial gap between current LLMs and reliable automated statisticians.
What Problem Does This Paper Address?
Real-world statistical analysis is a dual challenge: it requires deep conceptual domain knowledge (e.g., knowing which hypothesis test to apply) and tool proficiency (e.g., executing R or Python code with precise parameters and correctly interpreting the output).
While LLMs have advanced rapidly, existing benchmarks for evaluating them in data science suffer from narrow domain scopes, rigid formatting constraints, or a lack of realistic tool integration. They often evaluate pure mathematical reasoning or general code generation in isolation. To bridge this gap, the authors introduce StatABench, a benchmark that forces models to act like real statisticians—operationalizing their conceptual knowledge through agentic tool use to solve both well-defined and underspecified, open-ended problems.
Methods
StatABench evaluates LLMs using two distinct workflows:
- Stat-Closed (Closed-form QA): Models solve 404 statistical questions using the LangChain Model Context Protocol (MCP) framework to interact with a custom Statistical Analysis Toolkit (SAToolKit). The toolkit provides 35 callable functions spanning descriptive statistics, regression, causal inference, and survival analysis. Evaluation relies on ground-truth matching and an LLM-as-Judge for open-form textual interpretations.
- Stat-Open (Open-ended Modeling): Models act within advanced data science agent frameworks (such as MathModelAgent and LLM-MM-Agent) to tackle 30 complex, multi-stage modeling projects. The agents must clean data, select methods, execute code, and generate a structured PDF/Markdown report. These reports are evaluated via a multi-dimensional LLM-as-Judge protocol (validated against human raters using Gemini 3 Pro) across dimensions like structural coherency, methodological quality, practicality, and bias analysis.
To ensure the benchmark's integrity, the authors implemented a strict Modify-and-Verify Decontamination Pipeline. Questions that baseline models answered correctly were flagged as potential data leakage and manually perturbed (e.g., rewriting problem stems, adding distractors, or inverting conditions) until the models could no longer rely on simple memorization.
Datasets
StatABench introduces two complementary evaluation tracks:
- Stat-Closed: Contains 404 questions across 18 statistical topics (detailed in the table below). Questions were curated from open-source textbooks, public repositories, and existing benchmarks like StatQA, CLADDER, and CORR2CAUSE.
- Stat-Open: Features 30 challenging, end-to-end data modeling problems adapted from prestigious mathematical and statistical modeling competitions (MCM/ICM, CUMCM, and MAS).
Key Insights and Ideas
- The "Tool-Integration Tax": Models consistently perform worse on practical application tasks that require tool use than on fundamental conceptual questions. Translating statistical intent into correct function calls, parameter settings, and contextual interpretations introduces significant friction.
- Frameworks Alleviate Bottlenecks but Don't Fix Core Capabilities: Deploying models within advanced agent orchestrators (like CrewAI or AutoGen) dramatically improves absolute performance by handling execution and formatting errors. However, it does not eliminate the performance gap between models, proving that the underlying bottleneck remains the model's core statistical reasoning capability.
- The Structure vs. Innovation Trade-off: Rigid, template-based agent frameworks (like MathModelAgent) excel at generating structurally sound and practical reports, but they tend to suppress methodological exploration and innovativeness compared to more flexible workflows.
Key Results
- Stat-Closed Performance: Even the advanced GPT-5.1 achieved only 68.6% overall accuracy, while the top-performing open-source model, Qwen2.5-72B, reached 60.6%.
- As shown in the tool-integration tax visualization below, smaller or less robust models experience a massive performance drop when forced to use practical tools.
- Agent Framework Boost: When paired with the CrewAI framework, DeepSeek-V3's practical task accuracy surged from 53.54% to 85.35%, demonstrating the power of strong agentic orchestration.
- Stat-Open Performance: The highest-scoring agent framework achieved an average score of just 61.86 out of 100, showing that end-to-end statistical modeling remains far from saturated for current AI systems.
- Error Analysis: A deep dive into failures revealed that 74% of mismatches were driven by statistical errors (e.g., selecting the wrong statistical test or misinterpreting a p-value), while only 26% stemmed from engineering or formatting issues.
Limitations and Future Work
The authors note that StatABench prioritizes task quality and domain diversity over raw scale. Expanding the number of tasks in both tracks would enable a more fine-grained diagnosis of specific failure modes across different workflow stages. Additionally, keeping the benchmark maintained and dynamically updated will be an ongoing challenge to prevent future data contamination as next-generation LLMs evolve.
Summary updated