Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Econometrics and Statistics for Business in R & Python
Rating: 4.4 out of 5(745 ratings)
7,305 students

Econometrics and Statistics for Business in R & Python

Econometrics with R and Python: causal inference, propensity score matching, difference-in-differences, time series
Last updated 11/2026
English
English [Auto],Korean [Auto],

What you'll learn

  • Understand econometrics and causal inference through business and economics use cases, and know which technique fits which question
  • Estimate a policy or campaign effect with difference-in-differences, using linear and logistic regression in R and Python
  • Check difference-in-differences assumptions and run placebo tests to see whether your result holds up
  • Measure the impact of an intervention on a time series with Google's Causal Impact, such as a scandal's effect on a stock price
  • Test stationarity and apply Granger causality to see if one time series helps predict another, with the optimal number of lags
  • Use propensity score matching to compare treated and untreated groups, controlling for confounders and checking common support
  • Run propensity score matching in Python with Uber's CausalML, then confirm the results with t-tests and a robustness check
  • Build CHAID decision trees to rank the drivers of an outcome, and judge them by accuracy, sensitivity and specificity
  • Code each technique from scratch in R and Python, then adapt the code templates to your own dataset and business problem
  • Apply basic statistics to business data in R and Python: descriptive statistics, t-tests and regression output, and present your findings to stakeholders

Course content

20 sections • 160 lectures • 12h 14m total length
  • Course introduction and structure7:30

    Explore econometric and causal inference techniques, difference in differences, Google Causal Impact, Granger causality, and propensity score matching, through use cases, intuition tutorials, and hands-on coding in R or Python.

  • Course content3:57

    Access course resources, including Python and R templates, PDF slides, and papers on difference in differences, Granger causality, and Google's causal impact, plus practice tutorials.

  • Installing R and RStudio2:56

    learn to install R and RStudio on Windows or Mac OS by downloading RStudio Desktop and R from CRAN, then follow prompts to complete setup.

  • Installing Python and Spyder3:55

    Install python from python.org and set up your coding environment with python 3.8.3. Install Spyder through the Anaconda distribution, or use Jupyter, which includes Pandas, Matplotlib, and TensorFlow.

  • Diogo's Introduction and Background2:29

    Diogo introduces his background in management and analytics, illustrating how data drives business decisions, from large-scale sales planning to A/B tests.

  • Future of this course and reviews2:01

    Join me in shaping the future of this course by co-creating it with you, inviting suggestions, thoughts, and critiques to continually improve current and future offerings, with ratings throughout.

Requirements

  • Basic high school math
  • Basic statistics (mean, median, mode). No prior R, Python or econometrics needed: I install the tools and start the code from scratch.

Description

Econometrics has a horrible reputation. Complex theorems and classes that feel like learning Greek give every student nightmares. This course stays away from that. It focuses on (1) giving you the intuition and tools to apply the techniques, (2) making everything you learn actionable in your career, and (3) giving you a toolkit of peer-reviewed causal inference techniques that will make you stand out and let you answer the tough questions: did the campaign work, did the policy change anything, which driver really matters?

WHY ECONOMETRICS AND CAUSAL INFERENCE FOR BUSINESS IN R AND PYTHON?

In each section you learn one technique, in three parts. First, Use Cases: examples from business literature and my own experience where the technique has been applied. Second, Intuition tutorials: why the technique makes sense, always on business situations. Third, Practice tutorials: we code and solve a business or economic problem in R and in Python, from scratch, line by line.

1| THE MOST IMPACTFUL ECONOMETRIC TECHNIQUES

Whether you work in HR, marketing, finance or operations, every department can use these causal techniques:

  1. Difference-in-differences, with linear and logistic regression and placebo tests

  2. Google's Causal Impact, for time series analysis

  3. Granger causality, for time series, with stationarity tests and optimal lags

  4. Propensity score matching, with t-tests and Uber's CausalML in Python

  5. CHAID decision trees

2| BUSINESS EXAMPLES TO BUILD INTUITION

Each section starts with business cases and studies where the technique was used, from my own professional experience and the literature. By the end of each intuition tutorial you will be able to explain the concept to your colleagues, manager and stakeholders. Examples:

  1. Impact of M&A on companies.

  2. How weather influences sales.

  3. Measuring the impact of brand campaigns.

  4. Whether influencer or social media marketing results in sales.

  5. The drivers of customer satisfaction.

3| REAL PROBLEMS TO APPLY WHAT YOU LEARN

Each section has at least one real business or economic dataset. We solve and code together:

  1. Measuring the impact of the Cambridge Analytica scandal on Facebook's stock price.

  2. Assessing the results of giving training to employees.

  3. Challenging the idea that increasing the minimum wage decreases employment.

  4. Ranking the drivers of why people quit their jobs.

  5. Solving the thousand-year-old riddle of who came first: "Chicken or the egg?".

4| HANDS-ON CODING IN R AND PYTHON

In every practice tutorial we start from scratch, building the code line by line. You download the code templates and apply the causal inference techniques in your work and projects, and I explain what to change for your dataset. A warm-up section of Python and statistics exercises gets you ready, and you need only basic high school math and basic statistics.

In short: the course is packed with use cases, intuition tutorials and hands-on coding, built so that what you learn is actionable in your career. Feel free to reach out with questions, and I hope to see you inside!

Diogo

Update, November 2024: all Python tutorials have been remade and are up to date.

Who this course is for:

  • Business analysts and data scientists who want to learn econometrics, statistics and causal inference in R or Python
  • Business Analysts wanting to make a difference in their current job
  • Students or recent graduates interested in Econometrics and Data Science
  • People curious about Econometrics and Data Science
  • Professionals who would like to know more about analytics