QuantEcon / lecture-jax

Lectures on Quantitative Economics Using JAX
https://jax.quantecon.org/
28 stars 4 forks source link

Check outputs are the same in opt savings and opt investment #165

Closed jstac closed 3 months ago

jstac commented 3 months ago

In https://jax.quantecon.org/opt_invest.html and https://jax.quantecon.org/opt_savings_2.html, let's add a visual inspection to verify that the policies are the same for each algorithm (VFI, OPI, HPI).

Currently, we only have this plot for HPI. So we need to add it for VFI and OPI the first time we run these algorithms, and make a small comment that they look similar.

(We don't need a more rigorous test --- visual inspection is fine.)

kp992 commented 3 months ago

Thanks @jstac. I can look into it.