VFI Toolkit

For updates: @vfitoolkit.bsky.social or twitter@vfitoolkit (or use RSS to subscribe to blog: vfitoolkit.com/feed/)

Quick links:

VFI Toolkit Workshop (Online Video Version)
An Introduction to Life-Cycle Models
An Introduction to OLG Models
Heterogeneous Firm Entry and Exit Models

VFI Toolkit aims to make solving Macroeconomic models easy.  The main function in the toolkit automatically solves value function iteration problems given the return function and outputs the value function itself, as well the optimal policy function, and automatically does so on GPU (graphics card); for both finite and infinite horizon problems. Further commands allow for easy simulation of time series, and agents stationary distribution in heterogeneous agent models, general equilibrium in heterogeneous agent models, and transition paths in heterogeneous agent models. For finite-horizon problems there are commands for simulating panel data and for life-cycle profiles, and agents stationary distribution in hetergeneous agent models, general equilibrium in Overlapping-Generation (OLG) models, and transition paths in OLG models. Many other commands are also available.

VFI Toolkit for Matlab (github link to the toolkit code itself)

Setting up:

  1. Download VFI Toolkit from Github (either download as zip file or sync to github repository).
  2. Tell Matlab where the Toolkit is by adding it to the Matlab path.
  3. Done! I recommend learning by either following the Workshop, or reading Intro to Life-Cycle Models and playing with codes.

Feedback or Questions? Try the forum at discourse.vfitoolkit.com.

How to cite VFI Toolkit.

Or email me directly: robertdkirkby@gmail.com (robertdkirkby.com)

© 2026 A MarketPress.com Theme