Causal Inference

Difference in Differences you own this product

This project is part of the liveProject series Causal Inference and Personalization
prerequisites
basics of Python • basics of data science and machine learning
skills learned
when and how to use difference-in-differences • estimate the impact of discount on profits using diff-in-diff
Matheus Facure
1 week · 4-6 hours per week · INTERMEDIATE

pro $24.99 per month

  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose one free eBook per month to keep
  • exclusive 50% discount on all purchases

lite $19.99 per month

  • access to all Manning books, including MEAPs!

team

5, 10 or 20 seats+ for your team - learn more


Look inside

In this liveProject, you’ll use difference-in-differences as an alternative to A/B testing to assess the discounting strategy of an e-commerce company. This approach compares growth between a group that has been experimented on, and data from a control group. You’ll use Python and causal inference to examine the growth trajectory in profits from customers in a high discounts group against customers that didn’t get a discount.

This project is designed for learning purposes and is not a complete, production-ready application or solution.

book resources

When you start your liveProject, you get full access to the following books for 90 days.

project author

Matheus Facure
Matheus Facure is an economist, data scientist and causal inference specialist at Nubank. He currently works with adding causal inference capabilities to machine learning models with application in the credit card business, and acts as a consultant for other business areas inside Nubank, such as personal loans and marketing.

prerequisites

This liveProject is for data scientists with knowledge of Python, machine learning, and statistics. To begin this liveProject you will need to be familiar with the following:


TOOLS Basics of Python
  • Basics of pandas
  • Basics of Matplotlib
  • Basics of NumPy
  • TECHNIQUES Basics of data science and machine learning
  • Basics of causal inference
  • you will learn

    In this liveProject, you’ll learn core skills of causal inference and how to apply them to practical business scenarios.


    Understand how to leverage differences and similarities across time to control for biases
  • Learn the assumptions behind causal inference techniques that exploit temporal similarities
  • Learn when and how we can use difference-in-differences
  • Estimate the impact of discount on profits using diff-in-diff
  • features

    Self-paced
    You choose the schedule and decide how much time to invest as you build your project.
    Project roadmap
    Each project is divided into several achievable steps.
    Get Help
    While within the liveProject platform, get help from other participants and our expert mentors.
    Compare with others
    For each step, compare your deliverable to the solutions by the author and other participants.
    book resources
    Get full access to select books for 90 days. Permanent access to excerpts from Manning products are also included, as well as references to other resources.

    choose your plan

    team

    monthly
    annual
    $49.99
    $499.99
    only $41.67 per month
    • five seats for your team
    • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
    • choose another free product every time you renew
    • choose twelve free products per year
    • exclusive 50% discount on all purchases
    • Difference in Differences project for free