July 2019
Beginner to intermediate
740 pages
16h 52m
English
As we discussed in Chapter 1, Introduction to Data Analysis, the mean is not robust to outliers. If we feel there are many outliers influencing our baselines, we could go back to the percent difference and try out the median, or look into using a Tukey fence. Remember from previous chapters that the Tukey fence gets its bounds from the first and third quartiles, and the interquartile range (IQR). Since we only care about exceeding the upper bound, this solves the issue with the mean, provided that outliers compose less than 25% of our data. We can use the following to calculate the upper bound:

Our get_baselines() function will ...
Read now
Unlock full access