Causal Inference for Data Science
eBook - ePub

Causal Inference for Data Science

  1. English
  2. ePUB (mobile friendly)
  3. Available on iOS & Android
eBook - ePub

Causal Inference for Data Science

About this book

When you know the cause of an event, you can affect its outcome. This accessible introduction to causal inference shows you how to determine causality and estimate effects using statistics and machine learning.

A/B tests or randomized controlled trials are expensive and often unfeasible in a business environment. Causal Inference for Data Science reveals the techniques and methodologies you can use to identify causes from data, even when no experiment or test has been performed.

In Causal Inference for Data Science you will learn how to:

• Model reality using causal graphs
• Estimate causal effects using statistical and machine learning techniques
• Determine when to use A/B tests, causal inference, and machine learning
• Explain and assess objectives, assumptions, risks, and limitations
• Determine if you have enough variables for your analysis

It’s possible to predict events without knowing what causes them. Understanding causality allows you both to make data-driven predictions and also intervene to affect the outcomes. Causal Inference for Data Science shows you how to build data science tools that can identify the root cause of trends and events. You’ll learn how to interpret historical data, understand customer behaviors, and empower management to apply optimal decisions.

About the technology

Why did you get a particular result? What would have lead to a different outcome? These are the essential questions of causal inference. This powerful methodology improves your decisions by connecting cause and effect—even when you can’t run experiments, A/B tests, or expensive controlled trials.

About the book

Causal Inference for Data Science introduces techniques to apply causal reasoning to ordinary business scenarios. And with this clearly-written, practical guide, you won’t need advanced statistics or high-level math to put causal inference into practice! By applying a simple approach based on Directed Acyclic Graphs (DAGs), you’ll learn to assess advertising performance, pick productive health treatments, deliver effective product pricing, and more.

What's inside

• When to use A/B tests, causal inference, and ML
• Assess objectives, assumptions, risks, and limitations
• Apply causal inference to real business data

About the reader

For data scientists, ML engineers, and statisticians.

About the author

Aleix Ruiz de Villa Robert is a data scientist with a PhD in mathematical analysis from the Universitat Autònoma de Barcelona.

Table of Contents

Part 1
1 Introducing causality
2 First steps: Working with confounders
3 Applying causal inference
4 How machine learning and causal inference can help each other
Part 2
5 Finding comparable cases with propensity scores
6 Direct and indirect effects with linear models
7 Dealing with complex graphs
8 Advanced tools with the DoubleML library
Part 3
9 Instrumental variables
10 Potential outcomes framework
11 The effect of a time-related event
A The math behind the adjustment formula
B Solutions to exercises in chapter 2
C Technical lemma for the propensity scores
D Proof for doubly robust estimator
E Technical lemma for the alternative instrumental variable estimator
F Proof of the instrumental variable formula for imperfect compliance

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription.
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes! You can use the Perlego app on both iOS or Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Yes, you can access Causal Inference for Data Science by Aleix Ruiz de Villa Robert in PDF and/or ePUB format, as well as other popular books in Computer Science & Data Mining. We have over one million books available in our catalogue for you to explore.

Information

Publisher
Manning
Year
2025
eBook ISBN
9781638356462
Edition
0

Table of contents

  1. Causal Inference for Data Science
  2. copyright
  3. dedication
  4. contents
  5. preface
  6. acknowledgments
  7. about this book
  8. about the author
  9. about the cover illustration
  10. Part 1 Inference and the role of Confounders
  11. 1 Introducing causality
  12. 2 First steps: Working with confounders
  13. 3 Applying causal inference
  14. 4 How machine learning and causal inference can help each other
  15. Part 2 The adjustment formula in practice
  16. 5 Finding comparable cases with propensity scores
  17. 6 Direct and indirect effects with linear models
  18. 7 Dealing with complex graphs
  19. 8 Advanced tools with the DoubleML library
  20. Part 3 Other strategies beyond the adjustment formula
  21. 9 Instrumental variables
  22. 10 Potential outcomes framework
  23. 11 The effect of a time-related event
  24. appendix A The math behind the adjustment formula
  25. appendix B Solutions to exercises in chapter 2
  26. appendix C Technical lemma for the propensity scores
  27. appendix D Proof for doubly robust estimator
  28. appendix E Technical lemma for the alternative instrumental variable estimator
  29. appendix F Proof of the instrumental variable formula for imperfect compliance
  30. index