I want to use a logit model and trying to import statsmodels library. My Version: Python 3.6.8
The best suggestion I got is to downgrade scipy but unclear how to an
!pip install scipy==1.2 --user
import statsmodels.formula.api as sm
from statsmodels.formula.api import ols
from statsmodels.sandbox.regression.predstd import wls_prediction_std`
I still got the following after scipy 1.2 was successfully installed:
ImportError: cannot import name 'factorial' from 'scipy.misc'