Check if statsmodels et al are installed before using