AUTHOR=Dhokotera Tafadzwa , Joubert Nandi , Veillat Aline , Pimmer Christoph , Gross Karin , Waser Marco , Hattendorf Jan , Bohlius Julia TITLE=Generative Artificial Intelligence for Data Analysis: A Randomised Controlled Trial in a Public Health Research Institute JOURNAL=International Journal of Public Health VOLUME=Volume 70 - 2025 YEAR=2025 URL=https://www.ssph-journal.org/journals/international-journal-of-public-health/articles/10.3389/ijph.2025.1608572 DOI=10.3389/ijph.2025.1608572 ISSN=1661-8564 ABSTRACT=ObjectiveTo assess the competence of students and academic staff to use generative artificial intelligence (GenAI) as a tool in epidemiological data analyses in a randomised controlled trial (RCT).MethodsWe invited postgraduate students and academic staff at the Swiss Tropical and Public Health Institute to the RCT. Participants were randomized to analyse a simulated cross-sectional dataset using ChatGPT’s code interpreter (integrated analysis arm) vs. a statistical software (R/Stata) with ChatGPT as a support tool (distributed analysis arm). The primary outcome was the trial task score (out of 17, using an assessment rubric). Secondary outcome was the time to complete the task.ResultsWe invited 338 and randomized 31 participants equally to the two study arms and 30 participants submitted results. Overall, there was no statistically significant difference in mean task scores between the distributed analysis arm (8.5, ±4.6) and the integrated analysis arm (9.4, ±3.8), with a mean difference of 0.93 (p = 0.55). Mean task completion time was significantly shorter in the integrated analysis arm compared to the distributed analysis arm.ConclusionWhile ChatGPT offers advantages, its effective use requires a careful balance of GenAI capabilities and human expertise.