Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Copilot Lvl 2
Message 1 of 1

ARIMA in Spline-Garch Python

Hi!
I'm working on a spline garch model (Engle-Rangel 2008). I use to work on R, and to be honnest I use to work on R packages and not coding by myself (so shame on me^^). However, to replicate a spline garch model I use a great python code from this website: https://github.com/blake-marsh/GARCH_replication/blob/master/spgarch_ox.py

I have no problem with using it, but my python skills are a bit rusty!

As a consequence, I waned to know if anyone could help me to introdiuce a moving average (MA) process in this code in order to deal with an ARIMA in the conditional mean process instead of the AR process (mainly the first two blocks of the code that are lag array helper function and detemine the AR errors)

Thanks a lot!