how to import statsmodels in jupyter notebook code example Example: conda statsmodels python conda install -c anaconda statsmodels