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

This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location where you will have to reset your password.
Forum rules
This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location (https://forum.dynare.org) where you will have to reset your password.

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

Postby yy1985 » Tue Mar 11, 2014 7:44 am

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:
Attachments
How to type a a euler equation which contain Σ.doc
(39.5 KiB) Downloaded 80 times
yy1985
 
Posts: 27
Joined: Thu Feb 13, 2014 2:56 am

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

Postby jpfeifer » Tue Mar 11, 2014 12:21 pm

In the end, you have to write out all terms of the sum, but you could use the preprocessor for doing this.
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

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

Postby yy1985 » Wed Mar 12, 2014 6:59 am

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
yy1985
 
Posts: 27
Joined: Thu Feb 13, 2014 2:56 am

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

Postby jpfeifer » Wed Mar 12, 2014 2:36 pm

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.
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

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

Postby yy1985 » Fri Mar 14, 2014 6:15 am

Dear professor pfeifer:
Thank you very much for your help.Under the guidance of you,I know what I shoud do.
Yun
yy1985
 
Posts: 27
Joined: Thu Feb 13, 2014 2:56 am


Return to Dynare help

Who is online

Users browsing this forum: Google [Bot] and 4 guests