Choosing a Box-Cox Transform

medium
Unit 21 · Market Basket0/2 to milestone

The Box-Cox transform makes skewed positive data more normal: y(λ)=yλ−1λy^{(\lambda)} = \frac{y^\lambda - 1}{\lambda} (and ln⁡y\ln y when λ=0\lambda = 0).

Pro problem

Unlock this and every premium problem across all tracks — plus hidden-test grading, advanced AI engineering modules and new content every week.

Start 7-day free trial
solution.py · Python 3.13
Run your code to see results. ⌘↵ to run · ⌘⇧↵ to submit
Choosing a Box-Cox Transform · TechGradify