article

Bricks
How to Do Regression Analysis with ChatGPT
Using a worked example, this guide teaches non-statisticians how to prepare clean CSV data, prompt ChatGPT to run a regression identifying dependent and independent variables, and interpret the resulting equation, R-squared, and p-values, plus generate a scatterplot with a fitted line. It closes with an explicit warning that regression does not establish causation.
- Task
- Data & analysis
- Time
- 20 min
- Level
- beginner
- Cost
- Free — Nothing to pay. A free account at most.
- Tools
- ChatGPT
- Published
- 2025-04-22