Hi,I'm trying to build a var model, and I cannot find what I need in the document. First, you can use summary() to get all the model result at one time, what if I want to get each details? like, I want to store the AIC value in varible, or I want to shore one of the reuslt model in a array with each coef I can get?
Kai
>>> model.predict(2015,2016)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Library/Python/2.7/site-packages/statsmodels-0.6.1-py2.7-macosx-10.10-intel.egg/statsmodels/tsa/vector_ar/var_model.py", line 347, in predict
start = self._get_predict_start(start, lags)
File "/Library/Python/2.7/site-packages/statsmodels-0.6.1-py2.7-macosx-10.10-intel.egg/statsmodels/tsa/vector_ar/var_model.py", line 341, in _get_predict_start
return super(VAR, self)._get_predict_start(start)
File "/Library/Python/2.7/site-packages/statsmodels-0.6.1-py2.7-macosx-10.10-intel.egg/statsmodels/tsa/base/tsa_model.py", line 131, in _get_predict_start
self._set_predict_start_date(start)
File "/Library/Python/2.7/site-packages/statsmodels-0.6.1-py2.7-macosx-10.10-intel.egg/statsmodels/tsa/base/tsa_model.py", line 103, in _set_predict_start_date
raise ValueError("Start must be <= len(endog)")
ValueError: Start must be <= len(endog)
>>> model.predict()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: predict() takes at least 2 arguments (1 given)
Thanks. There is a predict method in VAR, is described here:But I don't understand what should be feed into the function as "params".