File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed
lectures/_static/lecture_specific/amss Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -18,4 +18,6 @@ dependencies:
1818 - sphinx-togglebutton==0.3.2
1919 # Docker Requirements
2020 - pytz
21+ # JAX for lecture content
22+ - jax
2123
Original file line number Diff line number Diff line change @@ -94,6 +94,16 @@ class AMSSModelParams(NamedTuple):
9494 bounds_v : jnp .ndarray # Bounds for value function optimization
9595
9696
97+ class AMSSParams (NamedTuple ):
98+ """Parameters for AMSS model."""
99+ β : float # Discount factor
100+ Π : jnp .ndarray # Markov transition matrix
101+ g : jnp .ndarray # Government spending by state
102+ x_grid : tuple # Grid parameters (x_min, x_max, x_num)
103+ bounds_v : jnp .ndarray # Bounds for optimization
104+ utility : 'UtilityFunctions' # Utility functions
105+
106+
97107class UtilityFunctions (NamedTuple ):
98108 """Collection of utility functions and their derivatives."""
99109 U : callable # Utility function U(c, l, params)
You can’t perform that action at this time.
0 commit comments