Skip to content

Update markov_jump_lq.rst - #174

Merged
jstac merged 1 commit into
QuantEcon:masterfrom
spspitze:patch-7
Jan 5, 2021
Merged

jstac merged 1 commit into
QuantEcon:masterfrom
spspitze:patch-7

Conversation

@spspitze

@spspitze spspitze commented Jan 4, 2021

Copy link
Copy Markdown
Contributor

Under "Linked Ricatti equations for Markov LQ dynamic programming", we are minimizing r, so it should be positive (as it is above).

Under "Linked Ricatti equations for Markov LQ dynamic programming", we are minimizing r, so it should be positive (as it is above).
@jstac

jstac commented Jan 4, 2021

Copy link
Copy Markdown
Contributor

Thanks @spspitze

@shlff , could you please review this PR?

@shlff
shlff self-requested a review January 5, 2021 10:09
.. math::

r(x_t, s_t, u_t) = -( x_t' R_{s_t} x_t + u_t' Q_{s_t} u_t + 2 u_t' W_{s_t} x_t)
r(x_t, s_t, u_t) = x_t' R_{s_t} x_t + u_t' Q_{s_t} u_t + 2 u_t' W_{s_t} x_t

@shlff shlff Jan 5, 2021 •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank @jstac and @spspitze .

In my opinion, the change in this PR makes sense

  • i.e., $r(x_t, s_t, u_t)$ should be $x_t' R_{s_t} x_t + u_t' Q_{s_t} u_t + 2 u_t' W_{s_t} x_t$, instead of $-( x_t' R_{s_t} x_t + u_t' Q_{s_t} u_t + 2 u_t' W_{s_t} x_t)$

This is because:

  • in the section before this change, i.e., in Review-of-useful-LQ-dynamic-programming-formulas, we define the loss function as $r(x_t, u_t) = x_t' R x_t + u_t' Q u_t + 2 u_t' W x_t$
  • $r(x_t, s_t, u_t)$ is obtained just by letting matrices $R, Q, W$ depend on the state space of a finite Markov chain.

Furthermore, the $N$ interrelated Bellman equations satisfied by the optimal value functions $- x' P_i x - \rho_i$ for $i = 1, \ldots, n$, an equation below the above change, should also be corrected as:

  • $-x' P_i x - \rho_i & = \max_u - \left[ x'R_i x + u' Q_i u + 2 u' W_i x - \beta \sum_j \Pi_{ij}E ((A_i x + B_i u + C_i w)' P_j (A_i x + B_i u + C_i w) x + \rho_j) \right]$ -->> $-x' P_i x - \rho_i & = \max_u - \left[ x'R_i x + u' Q_i u + 2 u' W_i x + \beta \sum_j \Pi_{ij}E ((A_i x + B_i u + C_i w)' P_j (A_i x + B_i u + C_i w) x + \rho_j) \right]$

Do you think it is a good idea?

@jstac

jstac commented Jan 5, 2021

Copy link
Copy Markdown
Contributor

I agree @spspitze and @shlff , many thanks.

@jstac
jstac merged commit 3cbc32c into QuantEcon:master Jan 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants