mlsanityData to 7 Oct 2026

StatLLM: A Dataset for Evaluating the Performance of Large Language Models in Statistical Analysis

arXiv 2502.17657 ↗First posted 24 Feb 2025stat.AP cs.AIcited by 8

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

  1. 2023GPT-4 Technical Reportcited by 18,132
  2. 2024The Llama 3 Herd of Modelscited by 14,192
  3. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  4. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  5. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  6. 2019BERTScore: Evaluating Text Generation with BERTcited by 5,462
  7. 2021Program Synthesis with Large Language Modelscited by 3,509
  8. 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,579
  9. 2023Code Llama: Open Foundation Models for Codecited by 2,105
  10. 2021Measuring Coding Challenge Competence With APPScited by 879
  11. 2024BigCodeBench: Benchmarking Code Generation with Diverse Function Calls and Complex Instructionscited by 527
  12. 2020CodeBLEU: a Method for Automatic Evaluation of Code Synthesiscited by 468
15 more
  1. 2023RepoCoder: Repository-Level Code Completion Through Iterative Retrieval and Generationcited by 357
  2. 2022Multi-lingual Evaluation of Code Generation Modelscited by 158
  3. 2024InfiAgent-DABench: Evaluating Agents on Data Analysis Taskscited by 134
  4. 2023CodeBERTScore: Evaluating Code Generation with Pretrained Models of Codecited by 101
  5. 2024Are LLMs Capable of Data-based Statistical and Causal Reasoning? Benchmarking Advanced Quantitative Reasoning with Datacited by 61
  6. 2023Natural Language Generation and Understanding of Big Code for AI-Assisted Programming: A Reviewcited by 32
  7. 2024Are Large Language Models Good Statisticians?cited by 26
  8. 2024CodeEditorBench: Evaluating Code Editing Capability of Large Language Modelscited by 22
  9. 2023Exploring the Robustness of Large Language Models for Solving Programming Problemscited by 16
  10. 2021Statistical Perspectives on Reliability of Artificial Intelligence Systemscited by 10
  11. 2024A comparison of Human, GPT-3.5, and GPT-4 Performance in a University-Level Coding Coursecited by 10
  12. 2024Multi-Programming Language Ensemble for Code Generation in Large Language Modelcited by 3
  13. 2024Applied Statistics in the Era of Artificial Intelligence: A Review and Visioncited by 2
  14. 2025Performance Evaluation of Large Language Models in Statistical Programmingcited by 2
  15. 2025Bridging the Data Gap in AI Reliability Research and Establishing DR-AIR, a Comprehensive Data Repository for AI Reliabilitycited by 1

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 3; 2026: 5.

8 papers.