Page 1 of 1

How to type a a euler equation which contain Σ??

PostPosted: Tue Mar 11, 2014 7:44 am
by yy1985
Dear profeeor pfeifer:
If a euler equation like (I an very sorry that I cann't type it in here,so I upload a attachment file in follows ).how can I type it into the model block of dynare? There is no part of introduce in dynare.
Thank you very much!
Yun

a euler equation which contain Σ file attachment as follows:

Re: How to type a a euler equation which contain Σ??

PostPosted: Tue Mar 11, 2014 12:21 pm
by jpfeifer
In the end, you have to write out all terms of the sum, but you could use the preprocessor for doing this.

Re: How to type a a euler equation which contain Σ??

PostPosted: Wed Mar 12, 2014 6:59 am
by yy1985
Dear professor pfeifer:
use the preprocessor for doing this??In reality I was stupid, I do not know whether you can give me an example?
Thank you very much for you help!
Yun
2014-3-12

Re: How to type a a euler equation which contain Σ??

PostPosted: Wed Mar 12, 2014 2:36 pm
by jpfeifer
You can use a for loop in the preprocessor to write out the sum. However, if n is small in your case, it is not worth bothering with this and entering the equation manually is easier.

Re: How to type a a euler equation which contain Σ??

PostPosted: Fri Mar 14, 2014 6:15 am
by yy1985
Dear professor pfeifer:
Thank you very much for your help.Under the guidance of you,I know what I shoud do.
Yun