# Speeding up hierarchical VAR

**URL:** <https://discourse.mc-stan.org/t/speeding-up-hierarchical-var/14363>\
**Category:** Modeling\
**Tags:** performance\
**Created:** [April 16, 2020, 3:00pm UTC](https://discourse.mc-stan.org/t/speeding-up-hierarchical-var/14363 "2020-04-16T15:00:46Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![mike-lawrence](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.mc-stan.org/mike-lawrence/32/59_2.png) [@mike-lawrence](https://discourse.mc-stan.org/u/mike-lawrence)\
**Post date:** [April 16, 2020, 3:34pm UTC](https://discourse.mc-stan.org/t/speeding-up-hierarchical-var/14363/2 "2020-04-16T15:34:36Z")

</div>

First you should check out the optimizations in the [Multivariate Priors for Hierarchical Models](https://mc-stan.org/docs/2_22/stan-users-guide/multivariate-hierarchical-priors-section.html) section of the Stan User’s guide, specifically the optimizations that are presented later in the chapter. Then you should take a look at the reduced-computation-through-recognizing-redundancy trick I present [here](https://discourse.mc-stan.org/t/case-study-preview-speeding-up-stan-by-reducing-redundant-computation/14228).

---

_[View the full topic](https://discourse.mc-stan.org/t/speeding-up-hierarchical-var/14363)._
