I am running a ARIMA model to predict prices.
I am importing the statsmodels package as:
'''import statsmodels.tsa.arima_model as tsm''' and calling the function "tsm.ARIMA" to fit a model.
I keep getting the error:-- " AttributeError: 'module' object has no attribute 'ARIMA' ".
I had earlier ran the same code on ipython3 notebook by callling zipline and statsmodels packages and it ran perfectly fine outputting the portfolio results. Why does this error occur in quantopian? Also I tried to find the attributes of the "tsm" module using the "dir()" function but it is not functional in quantopian due to some security concerns.
How else do I get to know the attributes present in a module in quantopian?