Data Analysis for Business, Economics, and Policy
A complete course in data analysis by Gábor Békés and Gábor Kézdi: data wrangling, regression, prediction with machine learning, and causal analysis — taught through 47 case studies using real-world data, with all code in R, Python, and Stata.
The book & its ecosystem — in 100 seconds
Find your path
Instructors
Adopt and teach with the book in undergraduate or Master's programmes: slides for every chapter, course designs, solutions, and adoption examples.
Students
Learn with the book: quick links, coding setup in R, Python, or Stata, practice Q&A, and study advice.
Data & Code
Everything is reproducible: raw and clean datasets on OSF, full code for every case study on GitHub.
Data Analysis with AI
New: teaching and doing data analysis in the age of LLMs — a full course and materials in progress.
More than a textbook — free tools & courses
Around the book we built a whole open ecosystem: learn to code from scratch, do data analysis with AI, and explore the concepts hands-on in interactive dashboards. All free.
Coding courses
Learn to code from zero in R, Python, or Stata — full open courses that carry you all the way to the case studies.
Data Analysis with AI
Doing and teaching data analysis in the age of LLMs — a full open course, free to use.
Interactive dashboards
Play with the concepts in your browser — eight teaching dashboards, from distributions to causal inference.
The full ecosystem
Case study code, datasets, courses, AI materials, and teaching apps — everything we built, in one place.
What the book covers
A complete, curated curriculum that equips future data analysts with the most important tools, methods, and skills — through the entire process of data analysis, to answer real-life questions.
I · Data Exploration
Data collection and quality, tidy data and wrangling, exploratory analysis and visualization, generalizing from data, hypothesis testing.
II · Regression Analysis
Non-parametric and linear models, functional form, internal and external validity, probability models, time series regressions.
III · Prediction
Loss functions, cross-validation, LASSO, tree-based machine learning (CART, random forest, boosting), classification, forecasting.
IV · Causal Analysis
Potential outcomes and DAGs, experiments, matching, difference-in-differences, panel data methods, synthetic control, event studies.
Case studies: global and diverse
Each of the 47 case studies begins with a real question and ends with an answer, based on real data and the methods taught in that chapter. For example:
- Estimating gender and age differences in earnings (USA). More
- Management quality, firm size and family ownership (Mexico, International). More
- Predicting company default with machine learning (EU). More
- Working from home and employee performance (China). More
- Identifying successful football managers, and the effect of a change (UK). More
Endorsements
Adopted in 200+ courses in 40 countries
In Economics, Finance, Analytics, Business, and Public Policy — from Columbia and Michigan to Bocconi, CEU, and beyond. Full list of courses →
About the authors
Gábor Békés and Gábor Kézdi at Balatonudvari, Hungary (July 2018). Photo by Anna Fetter.
We could not have done this alone. Far from it. So, we are grateful, really.