Skip to content

Lecture Improvement Project #173

@HumphreyYang

Description

@HumphreyYang

When running through the list, please follow the following workflow:

  1. Please assign yourself to one of the lectures below by adding an @{GitHub username} next to a lecture.

  2. First, read each lecture carefully and check for typos and mathos (mathematical errors). If a derivation has a gap, consider adding an exercise to help fill it.

  3. Rewrite the code in JAX where beneficial or feasible. One useful criterion is to check whether there are extensive loops or if the code is accelerated with numba.

  4. Submit one pull request (PR) per lecture and tag @mmcky and @HumphreyYang for review.

Note

Sometimes there are good reasons to implement a single change across multiple lectures. If you think this applies
then please coordinate with @mmcky and @HumphreyYang, as these PRs can cause merge conflicts and complexity.

  1. Note any questions or concerns in the PR. We’ll gather these into a bi-weekly summary/news feed for the group.

  2. Synchronize updates to the Chinese version by tagging the Translation (English -> Mandarin) in Projects and marking the status as 'To do'.

Intermediate Series

Tools and Techniques

Elementary Statistics

Bayes Law

Note for this section, there are discrepencies in terms of tools we used. Consider unifying them and write a introductory section for numpyro in bayes_nonconj?)

Statistics and Information

(This chapter is currently being updated by Tom. Please refrain from reviewing it.)

Linear Programming

  • opt_transport
  • von_neumann_model

Introduction to Dynamics

Search

(Code in this chapter is similar in nature, consider convert the chapter to JAX)

Consumption, Savings and Capital

  • cass_koopmans_1
  • cass_koopmans_2
  • cass_fiscal
  • cass_fiscal_2
  • ak2 [jax] (AK model uses big loops that can be accelerated by JAX.)
  • cake_eatingproblem @longye-tian
  • cake_eating_numerical @longye-tian
  • optgrowth @longye-tian
  • optgrowth_fast [jax] (This lecture teaches Numba specifically, consider converting to JAX entirely) @HumphreyYang
  • coleman_policy_iter [jax] (Time-iteration; clear @jit usage; good JAX target) @longye-tian
  • egm_policy_iter [jax] (egm is implemented in JAX here) @longye-tian
  • ifp [jax] (Uses numba at the moment) @longye-tian
  • ifp_advanced [jax] (Uses numba at the moment) @longye-tian

LQ Control

  • lqcontrol @matheusvillasb
  • lagrangian_lqdp
  • cross_product_trick
  • perm_income
  • perm_income_cons
  • lq_inventories

Multiple Agent Models

Asset Pricing and Finance

Data and Empirics

Auctions

Advanced Series

Tools and Techniques

  • orth_proj
  • stationary_densities
  • muth_kalman
  • discrete_dp

LQ Control

  • cons_news
  • smoothing
  • smoothing_tax
  • markov_jump_lq
  • tax_smoothing_1
  • tax_smoothing_2
  • tax_smoothing_3
  • lqramsey

Multiple Agent Models

  • arellano [jax] (There is a JAX version here)
  • matsuyama
  • coase
  • match_transport

Dynamic Linear Economies

  • hs_recursive_models
  • growth_in_dles
  • lucas_asset_pricing_dles
  • irfs_in_hall_model
  • permanent_income_dles
  • rosen_schooling_model
  • cattle_cycles
  • hs_invertibility_example

Risk, Model Uncertainty, and Robustness

  • five_preferences [jax] (Analytic kernels with @njit)
  • entropy
  • robustness
  • rob_markov_perf

Time Series Models

  • arma
  • estspec
  • additive_functionals
  • lu_tricks
  • classical_filtering
  • knowing_forecasts_of_others

Asset Pricing and Finance

  • lucas_model [jax] (There is a JAX version here) @kp992
  • asset_pricing_lph @Simon-Mishricky
  • black_litterman
  • BCG_complete_mkts
  • BCG_incomplete_mkts

Dynamic Programming Squared

  • un_insure [jax] (Not accelerated, but with big iteration of C)
  • dyn_stack
  • calvo_machine_learn
  • calvo
  • calvo_abreu
  • opt_tax_recur
  • amss [jax] (Heavy DP with jit/jitclass; good JAX target)
  • amss2
  • amss3
  • chang_ramsey
  • chang_credible

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions