July 2016
Beginner to intermediate
462 pages
9h 14m
English
Data that doesn't follow a known distribution, such as the normal distribution, is often difficult to manage. A popular strategy to get control of the data is to apply the Box-Cox transformation. It is given by the following equation:

The scipy.stats.boxcox() function can apply the transformation for positive data. We will use the same data as in the Clipping and filtering outliers recipe. With Q-Q plots, we will show that the Box-Cox transformation does indeed make the data appear more normal.
The following steps show how to normalize data with the Box-Cox transformation:
Read now
Unlock full access