StatLLM: A Dataset for Evaluating the Performance of Large Language Models in Statistical Analysis
Not on the map. Why?
Abstract (arXiv)
The coding capabilities of large language models (LLMs) have opened up new opportunities for automatic statistical analysis in machine learning and data science. However, before their widespread adoption, it is crucial to assess the accuracy of code generated by LLMs. A major challenge in this evaluation lies in the absence of a benchmark dataset for statistical code (e.g., SAS and R). To fill in this gap, this paper introduces StatLLM, an open-source dataset for evaluating the performance of LLMs in statistical analysis. The StatLLM dataset comprises three key components: statistical analysis tasks, LLM-generated SAS code, and human evaluation scores. The first component includes statistical analysis tasks spanning a variety of analyses and datasets, providing problem descriptions, dataset details, and human-verified SAS code. The second component features SAS code generated by ChatGPT 3.5, ChatGPT 4.0, and Llama 3.1 for those tasks. The third component contains evaluation scores from human experts in assessing the correctness, effectiveness, readability, executability, and output accuracy of the LLM-generated code. We also illustrate the unique potential of the established benchmark dataset for (1) evaluating and enhancing natural language processing metrics, (2) assessing and improving LLM performance in statistical coding, and (3) developing and testing of next-generation statistical software - advancements that are crucial for data science and machine learning research.
Key facts. Cited by 8 papers in the map (data through 7 Oct 2026). Builds on 27 of its 52 references that are in the map. First posted on arXiv 24 Feb 2025.
Builds on
27 of 52 references.
References · 27
- 2023GPT-4 Technical Reportcited by 18,132
- 2024The Llama 3 Herd of Modelscited by 14,192
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2019BERTScore: Evaluating Text Generation with BERTcited by 5,462
- 2021Program Synthesis with Large Language Modelscited by 3,509
- 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,579
- 2023Code Llama: Open Foundation Models for Codecited by 2,105
- 2021Measuring Coding Challenge Competence With APPScited by 879
- 2024BigCodeBench: Benchmarking Code Generation with Diverse Function Calls and Complex Instructionscited by 527
- 2020CodeBLEU: a Method for Automatic Evaluation of Code Synthesiscited by 468
15 more
- 2023RepoCoder: Repository-Level Code Completion Through Iterative Retrieval and Generationcited by 357
- 2022Multi-lingual Evaluation of Code Generation Modelscited by 158
- 2024InfiAgent-DABench: Evaluating Agents on Data Analysis Taskscited by 134
- 2023CodeBERTScore: Evaluating Code Generation with Pretrained Models of Codecited by 101
- 2024Are LLMs Capable of Data-based Statistical and Causal Reasoning? Benchmarking Advanced Quantitative Reasoning with Datacited by 61
- 2023Natural Language Generation and Understanding of Big Code for AI-Assisted Programming: A Reviewcited by 32
- 2024Are Large Language Models Good Statisticians?cited by 26
- 2024CodeEditorBench: Evaluating Code Editing Capability of Large Language Modelscited by 22
- 2023Exploring the Robustness of Large Language Models for Solving Programming Problemscited by 16
- 2021Statistical Perspectives on Reliability of Artificial Intelligence Systemscited by 10
- 2024A comparison of Human, GPT-3.5, and GPT-4 Performance in a University-Level Coding Coursecited by 10
- 2024Multi-Programming Language Ensemble for Code Generation in Large Language Modelcited by 3
- 2024Applied Statistics in the Era of Artificial Intelligence: A Review and Visioncited by 2
- 2025Performance Evaluation of Large Language Models in Statistical Programmingcited by 2
- 2025Bridging the Data Gap in AI Reliability Research and Establishing DR-AIR, a Comprehensive Data Repository for AI Reliabilitycited by 1
Built on by
Citing papers per year: 2025: 3; 2026: 5.
8 papers.
- 2025Harnessing the Computation Redundancy in ViTs to Boost Adversarial Transferabilitycited by 4
- 2025Measuring Data Science Automation: A Survey of Evaluation Tools for AI Assistants and Agentscited by 4
- 2025StatEval: A Comprehensive Benchmark for Large Language Models in Statisticscited by 4
- 2026RELISH: LLM REgression with a Latent Iterative State Headcited by 1
- 2026Automated reproducibility assessments in the social and behavioral sciences using large language modelscited by 1
- 2026INS-ActBench: A Comprehensive Benchmark for Assessing Professional Actuarial Capability of Large Language Modelscited by 1
- 2026Text Analytics Evaluation Framework: A Case Study on LLMs and Social Mediacited by 0
- 2026StatABench: Dataset and Framework for Evaluating Statistical Analysis Capabilities of LLMscited by 0
- 2026INS-ActBench: A Comprehensive Benchmark for Assessing Professional Actuarial Capability of Large Language Models27 Jul 2026
- 2026StatABench: Dataset and Framework for Evaluating Statistical Analysis Capabilities of LLMs22 Jun 2026
- 2026Automated reproducibility assessments in the social and behavioral sciences using large language models11 Jun 2026
- 2026Text Analytics Evaluation Framework: A Case Study on LLMs and Social Media20 May 2026
- 2026RELISH: LLM REgression with a Latent Iterative State Head1 Apr 2026
- 2025StatEval: A Comprehensive Benchmark for Large Language Models in Statistics10 Oct 2025
- 2025Measuring Data Science Automation: A Survey of Evaluation Tools for AI Assistants and Agents10 Jun 2025
- 2025Harnessing the Computation Redundancy in ViTs to Boost Adversarial Transferability15 Apr 2025