Sunday, January 18, 2026 | ๐Ÿ”ฅ trending
๐Ÿ”ฅ
TrustMeBro
news that hits different ๐Ÿ’…
๐Ÿค– ai

Keeping Probabilities Honest: The Jacobian Adjustment

An intuitive explanation of transforming random variables correctly.

โœ๏ธ
certified yapper ๐Ÿ—ฃ๏ธ
Friday, December 26, 2025 ๐Ÿ“– 2 min read
Keeping Probabilities Honest: The Jacobian Adjustment
Image: Towards Data Science

Whatโ€™s Happening

Hereโ€™s the thing: An intuitive explanation of transforming random variables correctly.

The post Keeping Probabilities Honest: The Jacobian Adjustment appeared first on Towards Data Science. Introduction Imagine youre modeling customer annoyance from wait times. (weโ€™re not making this up)

Calls arrive randomly, so wait time X follows an Exponential distributionโ€”most waits are short, a few are painfully long.

The Details

Now Id argue that annoyance isnt linear: a 10-minute wait feels more than twice as rough as a 5-minute one. So you decide to model annoyance units as (Y = Xยฒ).

Just take the pdf of X, replace x with (\sqrt(y)), and youre done. It looks reasonableโ€”peaked near zero, long tail.

Why This Matters

But what if you actually computed the CDF? Short numpy snippet to confirm this import numpy as np import matplotlib. Stats import expon # CDF of Exponential(1): F(x) = 1 - exp(-x) for x = 0 def cdf_exp(x): return 1 - np.

As AI capabilities expand, weโ€™re seeing more announcements like this reshape the industry.

Key Takeaways

  • Exp(-x) # Wrong (naive) pdf for Y = Xยฒ: just substitute x = sqrt(y) def wrong_pdf(y): return np.
  • Sqrt(y)) # This integrates to 2!
  • Quick numerical check of integral from scipy.

  • Integrate import quad integral, err = quad(wrong_pdf, 0, np.

The Bottom Line

In this post, well build the intuition, derive the math step by step, see it appear naturally in histogram equalization, visualize the stretching/shrinking empirically, and prove it with simulations. The Intuition To grasp why the Jacobian adjustment is necessary, lets use a tangible analogy: think of a probability distribution as a fixed amount of sandโ€”exactly 1 poundโ€”spread along a number line, where the height of the sand pile at each point represents the probability density.

Sound off in the comments.

โœจ

Originally reported by Towards Data Science

Got a question about this? ๐Ÿค”

Ask anything about this article and get an instant answer.

Answers are AI-generated based on the article content.

vibe check:

more like this ๐Ÿ‘€