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.
What people say
More endorsements, from instructors and students too → · Instructor feedback →
Jump to key content
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: where to start, 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.
What the book covers
The book follows the whole process of data analysis, from collecting and cleaning data to answering real-life questions. It has four parts.
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
More than a textbook: free courses and tools
Around the book we built courses and tools that anyone can use. You can learn to code from zero, learn to do data analysis with AI, and play with the concepts in interactive dashboards. All of it is free.
Coding courses
Learn to code from zero in R, Python, or Stata. Full open courses that take you all the way to doing the case studies yourself.
Data Analysis with AI
A full open course on doing data analysis with LLMs and agentic tools: eight sessions, assignments, case studies, and a capstone.
Interactive dashboards
Play with the concepts in your browser: eight teaching dashboards, from distributions to causal inference.
All resources
Reading suggestions and data sources, together with everything above, on one page.
The book in 100 seconds
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.