VFI Toolkit - Your Choice for Entrepreneurial Choice
Replications and Examples of Kitao (2008) and Bruggemann (2021):
discourse.vfitoolkit.com/t/e…
Not toolkit, but related and hopefully interesting to you. Building Econ Theory in Lean, and on the side to also prove which algorithms solve which models. You can join the LeanEconomics org and contribute.
LeanEconomics
github.com/LeanEconomics/Lea…
Current: prove existence of stationary general eqm for Aiyagari 1994, plus uniqueness for mu=1 (already known, now Lean formalized).
Please feel free to join the Github org and contribute to Econ in Lean.
Explain: shorturl.at/vpChP
Claude + VFI Toolkit = Superpower
Wrote a replication of core result of Huggett & @King_ofSweden (2000). Four OLG models in under three hours!!!
Key: Toolkit provides structure, code needed is only a few hundred lines. Claude loves this.
Details: tinyurl.com/ys7wyak2
VFI Toolkit v2.5: Breaks all infinite-horizon models.
Just find-and-replace-all "_Case1" with "_InfHorz"
vfitoolkit.com/updates-blog/…
Tees up some cool future functionality, with Entrepreneurial-Choice later this month, and aggregate shocks later this year...
Publication using VFI Toolkit:
doi.org/10.1016/j.jmacro.202…
OLG model with two endogenous states, assets and human capital. Toolkit commands solve the OLG and calibrate eqm to match life-cycle microdata. Then perform optimal tax exercise.
VFI Toolkit handles it all comfortably!
Online Video Workshop on VFI Toolkit
vfitoolkit.com/2025-workshop…
Original was taught in-person at LSE in May 2025.
Videos cover toolkit concepts and walk through codes. All slides & codes available to play with. Great intro to VFI Toolkit.
OLG models for policy institutions? The Office of Budget Responsibility (UK) and the Reserve Bank of New Zealand both use VFI Toolkit to build OLG models for policy analysis and advice. VFI Toolkit makes these models much simpler to build, modify, and analyse.
Links to two papers. The OBR work also involves HM Treasury.
obr.uk/docs/dlm_uploads/Work…
rbnz.govt.nz/-/media/project…
(New) Life-Cycle Model 27
Discretize earnings dynamics 'Model 5' of Guvenen, Karahan, Ozkan & Song (2021), use in exo-labour life-cycle model.
All discretization methods are extensions of Tanaka-Toda method. Lots of gaussian-mixtures :D
surl.li/pjeetp
VFI Toolkit contains discretization methods for: AR(1), AR(1) w/ gaussian-mixture, AR(1) with stochastic volatility, AR(2), VAR(1), life-cycle AR(1), life-cycle AR(1) w/ gaussian-mixture.
Codes harmonize inputs, outputs, notation.
Examples: shorturl.at/A6yX2
(New) Example: Huggett, Ventura & Yaron (2006)
discourse.vfitoolkit.com/t/e…
Does two things:
i) use PSID data in Matlab to estimate life-cycle profiles
ii) calibrate life-cycle model with human capital to reproduce the life-cycle profiles
Human Capital!
Life-Cycle Model 42: Female Labor Force Participation History
Life-Cycle Model 43: Uncertain Human Capital
shorturl.at/VgAwc
(two new life-cycle models in the Intro to Life-Cycle Models, both have assets + human capital)
GMM Estimation of Life-Cycle models
shorturl.at/lvnU9
Life-Cycle models 45-50 in the Intro to Life-Cycle models show how to do GMM estimation in VFI Toolkit with just 5-10 lines of code (after model and data work). I'm excited about this! :D
v2.2: Same same, but faster! 🔥
VFI Toolkit is now much faster thanks to implementing Tan improvement for all agent distribution computations (it is so fast the FnsToEvaluate got embarassing, so these were overhauled for speed too)
Huge shout to Eugene Tan for this genius idea!
Behavioural Life-Cycle Models
Impatience, Temptation and Self-Control, Loss Aversion and Ambiguity Aversion can now all be handled in life-cycle models! (and OLG ;)
vfitoolkit.com/updates-blog/…
Portfolio-Choice with Epstein-Zin preferences
vfitoolkit.com/updates-blog/…
Portfolio-choice models have households choosing both savings, and the division of savings between safe and risky assets. Version 2.1 of VFI Toolkit introduces Case3 to solve these.
1000 Downloads!!! The wrong way :P vfitoolkit.com/updates-blog/…
An Introduction to OLG Models vfitoolkit.com/updates-blog/…

