Yuxuan / Economics Back to website

Computational macroeconomics

Notebooks

Selected Julia notebooks with code, equations, figures, and saved results. These pages are static reading copies; source files remain available on GitHub.

DeepLearningMacro

Repository ↗

Intro to Deep Learning

Neural-network foundations and automatic differentiation for computational macroeconomics.

Read notebook →

Deep Learning for an RBC Model

An Euler-equation deep-learning method applied to a stochastic RBC benchmark.

Read notebook →

Deep Learning for the Krusell–Smith Model

A deep-learning Euler-equation method for the Krusell–Smith heterogeneous-agent model.

Read notebook →

Sequence-Space Jacobian

Repository ↗

Krusell–Smith with Sequence-Space Jacobians

Heterogeneous-agent transitions using sequence-space Jacobians and the fake news algorithm.

Read notebook →

RBC Model with Sequence-Space Jacobians

A compact introduction to solving an RBC model with sequence-space Jacobians in Julia.

Read notebook →

Krusell–Smith (1998) Solver

A Julia implementation of the traditional Krusell–Smith (1998) solution algorithm.

Read notebook →