Skip to Content
Data Science: The Hard Parts
book

Data Science: The Hard Parts

by Daniel Vaughan
November 2023
Beginner to intermediate
254 pages
6h 43m
English
O'Reilly Media, Inc.
Content preview from Data Science: The Hard Parts

Chapter 3. Growth Decompositions: Understanding Tailwinds and Headwinds

Chapter 2 described some techniques to find better metrics that can drive actions. This chapter deals with a completely different subject: how you can decompose metrics to understand why a metric changed. In corporate jargon these changes are usually associated with tailwinds or headwinds, that is, factors that positively or negatively affect the state of the company.

Why Growth Decompositions?

Data scientists are frequently asked to help understand the root cause of a change in a metric. Why did revenues increase quarter over quarter (QoQ) or month over month (MoM)? In my experience, these are very hard questions to answer, not only because many things can be happening at the same time, but also because some of these underlying causes are not directly measurable or don’t provide enough variation to be informative.1 Typical examples are things like the state of the economy or the regulatory environment, as well as decisions made by competitors.

Nonetheless, I’ve found that you can use some other source of variations that, when coupled with the following techniques, can give you hints of what’s going on.

Additive Decomposition

As the name suggests, this decomposition is handy when the metric (output) you want to understand can be expressed as the sum of other metrics (inputs). In the case of two inputs, this can be expressed as y t = y 1,t + y 2,t . Note that I’m using a time subscript.

The decomposition ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Learning Data Science

Learning Data Science

Sam Lau, Joseph Gonzalez, Deborah Nolan
Data Science for Business

Data Science for Business

Foster Provost, Tom Fawcett

Publisher Resources

ISBN: 9781098146467Errata Page