https://github.com/ohke/introduction_to_statistical_modeling_for_data_analysis/blob/master/chapter4.ipynb external_link