We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In the heterogeneity function, "AR" function is being used but this has now been replaced with statsmodels.tsa.ar_model.AutoReg. Thanks to update
I'm no expert but I have suggested fix as follows:
from statsmodels.tsa.ar_model import AutoReg ... try: x_whitened = AutoReg(x, lags=order_ar, trend='c').fit().resid except: try: x_whitened = AutoReg(x, lags=order_ar, trend='n').fit().resid except: output = { 'arch_acf': np.nan, 'garch_acf': np.nan, 'arch_r2': np.nan, 'garch_r2': np.nan } return output
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In the heterogeneity function, "AR" function is being used but this has now been replaced with statsmodels.tsa.ar_model.AutoReg. Thanks to update
I'm no expert but I have suggested fix as follows:
The text was updated successfully, but these errors were encountered: