Do you agree that equation (1) can be rewritten asU_{C_{t}} = \tilde{\beta}_{t}* u^{'}(C_{t}) + v_{t}^{'}(C_{t})* S_{t} ? Am I right here ?
I am left with the Discount factor \tilde{\beta}= \exp(- \sum_{i=0}^{t-1} v(C_{i})), I can do the same as above, however, how can I instruct dynare to stop the sum at t-1 where t=0 denotes current date.
Herein a second go where I fixed some parenthesis, sorry if I have been sloppy a bit. The main equation is the following FOC and I am referring to as eq (1) throughout the text.
**Do you agree that it is sufficient to define ** U_{C_{t}} = \tilde{\beta}_{t}* u^{'}(C_{t}) + v_{t}^{'}(C_{t})* S_{t} then FOC equation (1) is well defined ? Am I right here ?
In order to get the values of \tilde{\beta}_{t+2+i} as it is updated to \tilde{\beta}_{t+3+i} , \tilde{\beta}_{t+4+i} …in the S_{t} equation , then If I dropped i and defined:
\tilde{\beta}_{t+1}= exp^{log((1+C-N^\delta/\delta)} Which is \tilde{\beta}_{1} then S will understand to update \tilde{\beta}_{t+2} as exp^{log((1+C_{1}-N_{1}^\delta/\delta)} and so on so far ?
I am working on a paper where government adjust deficit given debt sustainability where the forward variables represents infinite summation also there are examples in the manual that might help.
I redid the derivation of the FOC and came across two conflicting equations:
The first order condition and the same equation in Mendoza paper (2002). Uc = exp(-B*log(1+C-(N^deltaa)/deltaa))*(P*R/P(+1))*Uc(+1)
The second is an endogenous discount factor tilda which enters another equation for computing an infinite sum (attached .mod file) tilda = exp(-B*log(1+C(-1)-((N(-1)^deltaa)/deltaa)))*tilda(-2)
In the Steady state, the two equations leads to different values of exp(-B*log(1+C-(N^deltaa)/deltaa)) of 1/R and 1 respectively. Did I defined tilda equation wrongly ?