Generative AI implementation – use case for SAS to R code transition
Conference
65th ISI World Statistics Congress 2025
Format: IPS Abstract - WSC 2025
Session: IPS 889 - From Theory to Practice - Implementing Generative AI in Statistical Organizations
Thursday 9 October 2 p.m. - 3:40 p.m. (Europe/Amsterdam)
Abstract
Integrating generative artificial intelligence (GenAI) into statistical practices offers transformative opportunities to enhance methodologies and efficiency. A practical demonstration of this potential is a "SAS to R code translator" that employs advanced AI models to convert SAS code into R. This tool addresses significant challenges like prompt engineering to ensure accurate and reliable code translation, adhering to best practices and organizational standards. By effectively tackling these technical hurdles, the initiative illustrates how statisticians can boost their analytical capabilities and streamline processes while ensuring code quality. This advancement streamlines code workflows and enhances overall efficiency. Ultimately, statisticians perform the final review and validation of the translated code, maintaining professional oversight and accuracy. This approach sets a benchmark for future adoption of cutting-edge technologies, emphasizing the necessity of pairing innovation with strict standards of security and reliability in the evolving landscape of statistical analysis.