@@ -85,14 +85,14 @@ from collections import namedtuple
8585from quantecon import nullspace, mc_sample_path, var_quadratic_sum
8686```
8787
88- ### Model Features
88+ ### Model features
8989
9090* Linear quadratic (LQ) model
9191* Representative household
9292* Stochastic dynamic programming over an infinite horizon
9393* Distortionary taxation
9494
95- ## The Ramsey Problem
95+ ## The Ramsey problem
9696
9797We begin by outlining the key assumptions regarding technology, households and the government sector.
9898
@@ -165,7 +165,7 @@ Given government tax and borrowing plans, we can construct a competitive equilib
165165
166166Among all such competitive equilibria, the Ramsey plan is the one that maximizes the welfare of the representative consumer.
167167
168- ### Exogenous Variables
168+ ### Exogenous variables
169169
170170Endowments, government expenditure, the preference shock process $b_t$, and
171171promised coupon payments on initial government debt $s_t$ are all exogenous, and given by
@@ -196,7 +196,7 @@ c_t + g_t = d_t + \ell_t
196196
197197A labor-consumption process $\{ \ell_t, c_t\} $ is called * feasible* if {eq}` lq_feasible ` holds for all $t$.
198198
199- ### Government Budget Constraint
199+ ### Government budget constraint
200200
201201Where $p_t^0$ is again a scaled Arrow-Debreu price, the time zero government budget constraint is
202202
@@ -347,7 +347,7 @@ Although it might not be clear yet, we are nearly there because:
347347* Once we have the allocations, prices and the tax system can be derived from
348348 {eq}` lq_hfoc ` .
349349
350- ### Computing the Quadratic Term
350+ ### Computing the quadratic term
351351
352352Let's consider how to obtain the term $\nu$ in {eq}` lq_gc22 ` .
353353
@@ -413,7 +413,7 @@ In this case, the formula for computing $q(x_0)$ is known to be $q(x_0) = x_0' Q
413413The first equation is known as a discrete Lyapunov equation and can be solved
414414using [ this function] ( https://github.com/QuantEcon/QuantEcon.py/blob/master/quantecon/_matrix_eqn.py ) .
415415
416- ### Finite State Markov Case
416+ ### Finite state Markov case
417417
418418Next, suppose that $\{ x_t\} $ is the discrete Markov process described {ref}` above <lq_twospec> ` .
419419
@@ -448,7 +448,7 @@ the vector $(I - \beta P)^{-1} h$.
448448
449449This last fact is applied in the calculations below.
450450
451- ### Other Variables
451+ ### Other variables
452452
453453We are interested in tracking several other variables besides the ones
454454described above.
@@ -516,7 +516,7 @@ R^{-1}_{t} := \mathbb E_t \beta^j p^t_{t+1}
516516$R_ {t}$ is the gross $1$-period risk-free rate for loans
517517between $t$ and $t+1$.
518518
519- ### A Martingale
519+ ### A martingale
520520
521521We now want to study the following two objects, namely,
522522
@@ -845,7 +845,7 @@ def gen_fig_2(path):
845845 plt.show()
846846```
847847
848- ### Comments on the Code
848+ ### Comments on the code
849849
850850The function ` var_quadratic_sum ` imported from ` quadsums ` is for computing the value of {eq}` lq_eqs `
851851when the exogenous process $\{ x_t \} $ is of the VAR type described {ref}` above <lq_twospec> ` .
@@ -871,7 +871,7 @@ Other than that, our code is long but relatively straightforward.
871871Let's look at two examples of usage.
872872
873873(lq_cc)=
874- ### The Continuous Case
874+ ### The continuous case
875875
876876Our first example adopts the VAR specification described {ref}` above <lq_twospec> ` .
877877
@@ -928,7 +928,7 @@ See the original <a href=_static/lecture_specific/lqramsey/firenze.pdf download>
928928See the original [manuscript](https://lectures.quantecon.org/_downloads/firenze.pdf) for comments and interpretation.
929929```
930930
931- ### The Discrete Case
931+ ### The discrete case
932932
933933Our second example adopts a discrete Markov specification for the exogenous process
934934
0 commit comments