/private/tmp/statsmodels/statsmodels/tsa/statespace/varmax.py:153: EstimationWarning: Estimation of VARMA(p,q) models is not generically robust, due especially to identification issues. EstimationWarning)
thank you,I was also utilizing VARMA modelI found the following comment, is this restriction still exist or is an old post/private/tmp/statsmodels/statsmodels/tsa/statespace/varmax.py:153: EstimationWarning: Estimation of VARMA(p,q) models is not generically robust, due especially to identification issues. EstimationWarning)source link
Hello Chad,Coming back to the function enforce stationarity, would this be considered as a procedure to make the time series stationary, like first order difference? are this comparable results?
Thank you very much for your answers, I would like to ask a couple of more questions in order to get a clear understanding of the function.my comments in redNo, it just limits the ARMA *representation* of the series. As an example, suppose you had a time series that was generated as a random walk, i.e. AR parameter equal to 1. By first-differencing, you would get a different time series, with AR parameter equal to 0.On the other hand, if you tried to estimate the parameter of the original series using the SARIMAX function with order=(1, 0, 0) and enforce_stationarity=True, then (with a long enough sample), the estimator would make try to set the AR parameter to 1 but, since enforce_stationarity=True, it could not actually set the parameter equal to 1, so it would instead set an estimate like 0.999.enforce_stationarity does not affect the time series that you put in, it only constrains the *estimates* of the coefficients.I understand, my previous question was more oriented to the results obtained from the ARMA model when the enforce stationarity is equal to True, for example, let's assume that I have a non-stationary time series, if I plug this time series into the model I get an error, with the condition, enforce stationary = True I am able to fit the model and make a forecast, on an Idealized scenario of stationarity limiting its polynomial roots within the unit circle, as you have mentioned.On the other hand, evaluating the time series differently, for example, I make the first difference on the time series to make it stationary then I fit the ARMA model I get the forecast and finally invert the time series from a difference estate to "non-differentiated" one.
--------------------------------------------------------------------------- ModuleNotFoundError Traceback (most recent call last) <ipython-input-525-118971034ac4> in <module>() 1 get_ipython().magic('matplotlib inline') 2 import pandas ----> 3 from statsmodels.tsa.vecm.vecm import VECM, select_order 4 import data as dta ModuleNotFoundError: No module named 'statsmodels.tsa.vecm'
Perfect!That was exactly what I was looking, since I was not abel to find that functionality on the VAR model. I was un aware of the VECM .I have found a note explaining with an examplehowever, when I try to import the library I get this error