PreprintCited by 4Artificial Intelligence in EducationStatistics Education and MethodologiesTeaching and Learning Programming

A Tutorial on Teaching Data Analytics with Generative AI

Open access
Bray, Robert·2023·SSRN Electronic Journal

Abstract

This tutorial addresses the challenge of incorporating large language models (LLMs), such as ChatGPT, in a data analytics class. It details several new in-class and out-of-class teaching techniques enabled by AI. For example, instructors can parallelize instruction by having students interact with different custom-made GPTs to learn different parts of an analysis and then teach each other what they learned from their AIs. For another example, instructors can turn problem sets into AI tutoring sessions, whereby a custom-made GPT guides a student through the problems, and the student uploads the chatlog for their homework submission. For a third example, you can assign different labs to each section of your class and have each section create AI assistants to help the other sections work through their labs. This tutorial advocates the programming in the English paradigm, in which students express the desired data transformations in prose and then use AI to generate the corresponding code. Students can wrangle data more effectively by programming in English than by manipulating in Excel. However, some students will program in English better than others, so you will still derive a robust grade distribution (at least with current LLMs).

Integrity signals

Registry

Crossref · 10.2139/ssrn.4484395

Cites

5 of 5 references verified0 citation errors · 0 not checkable

Statistics

Recomputing p-values needs the paper’s full text.

Claims the paper makes

We couldn’t retrieve this paper’s full text, so its claims and self-check weren’t run. The registry and citation checks still apply.

Claims other papers make about this one

Each is checked against this paper’s own text: does it say what the citing paper says it does?

  • Robert Bray's Spring 2023 class at Northwestern, also for MBA students, had students use ChatGPT for generating R code.

    “One of the most relevant examples to our own is Robert Bray's Spring 2023 class at Northwestern, also for MBA students, in which he had the students use ChatGPT for generating R code (Bray 2023).”

    From Generative AI for Data Science 101: Coding Without Learning to Code (2025) · cites this paper as Bray 2023

Cites

Flagged first, then by citations

Cited by

Sorted by citations

Authors
Bray, R.
Affiliations
Northwestern University (US)
Corresponding author
Bray, Robert
Venue
SSRN Electronic Journal
Publisher
Elsevier BV
Published
2023
ISSN
1556-5068 (ISSN-L)
OpenAlex
W4381954521
Cited by
4
References
5
Citations by year
2026: 1 · 2025: 1 · 2024: 1 · 2023: 1
Type
posted content
Language
en
Open access
Locations
SSRN Electronic Journal (acceptedVersion)
Topics
  • Physical Sciences › Computer Science › Information Systems › Artificial Intelligence in Education
  • Physical Sciences › Mathematics › Statistics and Probability › Statistics Education and Methodologies
  • Physical Sciences › Computer Science › Computer Science Applications › Teaching and Learning Programming
Keywords
data analytics education, generative AI in teaching, large language models, ChatGPT, AI tutoring, data wrangling, data transformation

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review