16. Regression Discontinuity, Matching, and Uplift in R

Chapter 15 covered A/B testing and predictive modeling. This chapter covers R implementation for the last subsection of the book on causal inference methods—that is, the implementation in R of difference-in-difference (DID) modeling, regression discontinuity (RD), statistical matching, and uplift modeling, discussed in Chapters 1013. We’ll work with the Lalonde data set, which contains data from an experimental jobs program described in Chapter 13, for statistical matching and uplift modeling.

By the end of the chapter, you will be able to:

  • Estimate a difference-in-difference model.

  • Remove the effects of seasonality.

  • Calculate the effect size in a regression discontinuity or interrupted ...

Get Product Analytics: Applied Data Science Techniques for Actionable Consumer Insights now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.