I ru both codes below python and get similar errors
model_fit.plot_predict(dynamic=False)
plt.show()
Error:AttributeError: 'function' object has no attribute 'plot_predict'
plot_predict(model_fit, dynamic=False)
plt.show()
Error: AttributeError: 'function' object has no attribute 'get_prediction'
Name: statsmodels
Version: 0.14.0
Any ideas?
google! nothign works
model_fit = model.fitis missing the call(), usemodel_fit = model.fit()