Skip to content
New issue

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

Fitting GARCH model using fixed lags #217

Open
bzamanloo opened this issue Aug 8, 2018 · 3 comments
Open

Fitting GARCH model using fixed lags #217

bzamanloo opened this issue Aug 8, 2018 · 3 comments

Comments

@bzamanloo
Copy link

Is it possible to force the p in the GARCH model to be zero for the first conditional volatility lag and then estimate he rest of the parameters for the rest of the lags?

i.e I wanna be able to fit the following model to the data:

Is it possible to be done in the existing framework?

@bashtage
Copy link
Owner

bashtage commented Aug 8, 2018

Sorry, this type of "irregular" GARCH model can't be specified in the package. FWIW, your variance process needs a shock, e.g., epsilon_[t-?]**2 where ? is 1 or 2.

@bzamanloo
Copy link
Author

Thanks fro the comment. I was just simplifying the conditional var equation. Although it may seem irregular but it is common practice in the electricity markets as the closest time you can invest in is the 'two' days-ahead market. Do you think it is possible to edit your source code to obtain this?

@bashtage
Copy link
Owner

The only way I could think to do this within the package would be to define a new volatility model that had this structure. I don't think it would be easy to directly extend the existing GARCH model to skip lags.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants