# Performance of time series packages

**URL:** <https://discourse.julialang.org/t/performance-of-time-series-packages/48447>\
**Category:** Statistics\
**Tags:** time-series\
**Created:** [October 15, 2020, 3:34pm UTC](https://discourse.julialang.org/t/performance-of-time-series-packages/48447 "2020-10-15T15:34:48Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yifan\_Liu](https://avatars.discourse-cdn.com/v4/letter/y/4da419/32.png) [@Yifan\_Liu](https://discourse.julialang.org/u/Yifan_Liu)\
**Post date:** [October 15, 2020, 3:34pm UTC](https://discourse.julialang.org/t/performance-of-time-series-packages/48447/1 "2020-10-15T15:34:48Z")

</div>

Are there performance benchmark of ARCHModels.jl vs. rugarch & rmgarch?

rugarch is pretty slow, and I kind of remember a while ago someone mentioned ARCHModels has a performance issue.

---

<div class="post-metadata">

**Author:** ![Albert\_Zevelev](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/albert_zevelev/32/11844_2.png) [@Albert\_Zevelev](https://discourse.julialang.org/u/Albert_Zevelev)\
**Post date:** [October 15, 2020, 3:59pm UTC](https://discourse.julialang.org/t/performance-of-time-series-packages/48447/2 "2020-10-15T15:59:05Z")

</div>

Yes: [Archmodels.Jl: Estimating Arch Models in Julia by Simon A. Broda, Marc S. Paolella :: SSRN](https://papers.ssrn.com/sol3/papers.cfm?abstract_id=3551503)

ArchModels can be used for more than just volatility models

---

<div class="post-metadata">

**Author:** ![tbeason](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tbeason/32/15898_2.png) [@tbeason](https://discourse.julialang.org/u/tbeason)\
**Post date:** [October 15, 2020, 4:08pm UTC](https://discourse.julialang.org/t/performance-of-time-series-packages/48447/3 "2020-10-15T16:08:55Z")

</div>

> [@Yifan\_Liu](#):
>
> I kind of remember a while ago someone mentioned ARCHModels has a performance issue.

In my experience, it’s very fast! I was messing around earlier this year with adding additional methods and the internals are impressive. I’m really not surprised that they find it being the most performant out of the standard toolboxes (in the SSRN paper linked above).

---

<div class="post-metadata">

**Author:** ![Yifan\_Liu](https://avatars.discourse-cdn.com/v4/letter/y/4da419/32.png) [@Yifan\_Liu](https://discourse.julialang.org/u/Yifan_Liu)\
**Post date:** [October 15, 2020, 4:51pm UTC](https://discourse.julialang.org/t/performance-of-time-series-packages/48447/4 "2020-10-15T16:51:43Z")

</div>

Thanks for the link to the paper. They used a dataset that only has about 2000 observations for the benchmark. I understand that it makes sense to use this original data of Bollerslev and Ghysels (1996) to show the correctness of estimates. However, to show the performance, I believe it is better to use larger data.

---

<div class="post-metadata">

**Author:** ![Albert\_Zevelev](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/albert_zevelev/32/11844_2.png) [@Albert\_Zevelev](https://discourse.julialang.org/u/Albert_Zevelev)\
**Post date:** [October 15, 2020, 5:05pm UTC](https://discourse.julialang.org/t/performance-of-time-series-packages/48447/5 "2020-10-15T17:05:51Z")

</div>

@s-broda what do you think?

---

<div class="post-metadata">

**Author:** ![s-broda](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/s-broda/32/3946_2.png) [@s-broda](https://discourse.julialang.org/u/s-broda)\
**Post date:** [October 15, 2020, 5:25pm UTC](https://discourse.julialang.org/t/performance-of-time-series-packages/48447/6 "2020-10-15T17:25:38Z")

</div>

Not sure. The performance should scale more or less linearly with the size of the data set, so I’m not sure how much difference it would make. If anything, it would probably favor ARCHModels.jl even more.

Another idea might be to show a backtesting exercise. That’s what I did in a seminar I gave a while ago, see here: [Jupyter Notebook Viewer](https://nbviewer.jupyter.org/format/slides/github/s-broda/brownbag2018/blob/master/brownbag.ipynb#/24) It shows ARCHModels.jl estimating 7334 GARCH models in 20 seconds 🤣 Granted, the window size is just 1000, but that’s pretty standard in backtesting.

@Albert_Zevelev Tangential: I currently have two students working on new models, so there should be some nice updates soon 🙂
