# Calibrate infinite horizon model

**URL:** https://discourse.vfitoolkit.com/t/calibrate-infinite-horizon-model/409
**Category:** Uncategorized
**Created:** [July 11, 2025, 5:21pm UTC](https://discourse.vfitoolkit.com/t/calibrate-infinite-horizon-model/409 "2025-07-11T17:21:54Z")
**Posts on this page:** 1
**Showing post:** 25

<div class="post-metadata">

### Author: ![aledinola](https://discourse.vfitoolkit.com/letter_avatar_proxy/v4/letter/a/3ec8ea/32.png) [@aledinola](https://discourse.vfitoolkit.com/u/aledinola)
#### Post date: [March 3, 2026, 1:48pm UTC](https://discourse.vfitoolkit.com/t/calibrate-infinite-horizon-model/409/25 "2026-03-03T13:48:50Z")

</div>

Did you sync with the latest version of the toolkit? I pointed out this error to @robertdkirkby some time ago and I think he fixed it, see this post:

> [@Grid interpolation in Infinite horizon models](https://discourse.vfitoolkit.com/t/grid-interpolation-in-infinite-horizon-models/582):
>
> I think I found a bug in ValueFnIter\_Refine\_postGI\_raw. I wanted to disable the Howard improvement step to do some checks, so I set vfoptions.maxhowards= 0, as suggested by @robertdkirkby, but I got this error message: Index exceeds matrix dimension. Error in ValueFnIter\_Refine\_postGI\_raw (line 276) Policy(1,:,:)=reshape(dstar(temppolicyindex),[N\_a,N\_z]); ^^^^^^^^^^^^^^^^^^^^^^ Error in ValueFnIter\_GridInterpLayer (line 149) [V,Policy]=ValueFnIter\_Refi…

---

_[View the full topic](https://discourse.vfitoolkit.com/t/calibrate-infinite-horizon-model/409)._
