---
title: "Correlation Lied to Us: Rethinking Product Impact with Causal Inference"
description: "Naive comparisons at OLX suggested premium ad packages performed worse than cheaper ones, because sellers self-select into packages and the ads differ in price, mileage, brand and other traits."
url: "https://swe.quest/articles/correlation-lied-to-us-rethinking-product-impact-with-causal-inference-ef960913b4a200bc"
canonical: "https://tech.olx.com/correlation-lied-to-us-rethinking-product-impact-with-causal-inference-5ba47181f7c5"
source: "OLX Tech"
published: "2026-08-04"
difficulty: "medium"
kind: "Case study"
reading_minutes: 16
tags: ["machine-learning","ecommerce","analytics"]
---

# Correlation Lied to Us: Rethinking Product Impact with Causal Inference

A post on [OLX Tech](https://swe.quest/sources/olx.md), published 2026-08-04, 16 min read, Case study. Original: [https://tech.olx.com/correlation-lied-to-us-rethinking-product-impact-with-causal-inference-5ba47181f7c5](https://tech.olx.com/correlation-lied-to-us-rethinking-product-impact-with-causal-inference-5ba47181f7c5)

## Summary

Naive comparisons at OLX suggested premium ad packages performed worse than cheaper ones, because sellers self-select into packages and the ads differ in price, mileage, brand and other traits. Propensity score matching with a regularized XGBoost classifier paired comparable vehicle ads across tiers. Matching cut overall standardized mean difference from 0.326 to 0.059, and a week-by-week divergence in performance served as behavioral validation. The matched estimates show uplift growing with the number of extra boosts (+17.6% for Package 1→2, +97.4% for 1→4), and these were checked against a randomized A/B test of 1 vs 2 boosts, with PSM positioned as the scalable alternative to running many experiments.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Machine learning](https://swe.quest/tags/machine-learning.md) (AI & ML)
- [E-commerce](https://swe.quest/tags/ecommerce.md) (Domains)
- [Analytics & OLAP](https://swe.quest/tags/analytics.md) (Data & databases)

## Prerequisites

- basic statistics
- A/B testing ([easy posts on Testing](https://swe.quest/tags/testing.md?difficulty=easy))
- classification models

## Keywords

Propensity Score Matching, XGBoost, Standardized Mean Difference, Average Treatment Effect, OLX, causal inference

## Related posts

- [Using Propensity Score Matching to Uncover Shopify Capital’s Effect on Business Growth](https://swe.quest/articles/using-propensity-score-matching-to-uncover-shopify-capital-s-effect-on-business-8bb147b3b69bd1fb.md): Shopify Engineering · 2021-11-11 · Hard · 10 min read · Machine learning, Analytics & OLAP, Payments & fintech
  Shopify estimated the causal effect of Shopify Capital on merchant sales using propensity score matching, treating US first-time Capital adopters in January 2019 as the treatment group and Canadian shops that later pre-qualified (when Capital wasn't yet available in Canada) as the control.
- [Improving Instagram notification management with machine learning and causal inference](https://swe.quest/articles/improving-instagram-notification-management-with-machine-learning-and-causal-112508fbe79ae4ec.md): Meta Engineering · 2022-10-31 · Medium · 5 min read · Machine learning, Communications, Recommendations & ranking
  Instagram replaced click-through-rate filtering for daily digest story notifications with a neural uplift model that estimates the incremental effect of sending versus not sending on user activity.
- [When Can You Ship on Offline Evals Alone?](https://swe.quest/articles/when-can-you-ship-on-offline-evals-alone-7dcb77ec604a6e78.md): Spotify Engineering · 2026-11-19 · Hard · 11 min read · Evaluation, LLMs, Machine learning
  Shipping AI changes on offline evals alone, without A/B tests, can bound the risk of harming online metrics only under strong assumptions: a homogeneous, exchangeable corpus of paired offline/online effects, known measurement error, and LLM-judge bias that doesn't depend on the treatment arm.
- [Making Ads Count: Using MMoE and Auxiliary Tasks to Better Connect Buyers & Sellers](https://swe.quest/articles/making-ads-count-using-mmoe-and-auxiliary-tasks-to-better-connect-buyers-sellers-e96ab585579399da.md): Etsy Code as Craft · 2026-03-20 · Hard · 11 min read · Recommendations & ranking, Ads, Machine learning, Search
  Etsy's Ads Search ranking model replaced its shared-bottom multitask architecture (DCN feature crossing plus CTR and post-click conversion towers with Platt-scaled calibration) with a Multigate Mixture of Experts layer, adding add-to-cart as an uncalibrated auxiliary task.
- [10 Lessons Learned From Online Experiments](https://swe.quest/articles/10-lessons-learned-from-online-experiments-ddcc212d6c480867.md): Shopify Engineering · 2021-06-17 · Medium · 12 min read · Analytics & OLAP, Testing, E-commerce
  Ten practical lessons from a year of online A/B experiments on Shopify's multi-currency, geolocation and translation features.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
