From kehld@ktk.pte.hu Tue May 25 16:41:56 2010 From: Kehl D =?utf-8?q?=C3=A1niel?= To: gretl-users@gretlml.univpm.it Subject: Re: [Gretl-users] Loop question Date: Tue, 25 May 2010 22:41:55 +0200 Message-ID: <1274820115.864b159ckehld@ktk.pte.hu> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2827694323999115709==" --===============2827694323999115709== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Dear Henrique, you have to simply follow the syntax. Take a look at Chapter 9 in the User's = Guide (Help/User's guide in the menu). Simple example on page 60 will help! Best wishes Daniel -----Original Message----- From: Henrique Andrade To: Gretl list Date: Tue, 25 May 2010 16:53:54 -0300 Subject: Re: [Gretl-users] Loop question Dear Riccardo, Kehl and Artur, Thanks a lot for your help! I'd tried all the options you gave me and my final script looks like this: Now, because I just need the values for 6, 12 and 24, I'm trying to substitute the second line "loop for (n=3D6;n<=3D24;n=3Dn*2)" for this: loop for (n=3D6;n=3D12;n=3D24) But the script isn't working. Any hints? Best regards, Henrique 2010/5/25 artur bala > Or, if your index is something like of a geometric series as it seems to > be (let's say 6, 12, 24, 48, and so on) and too long to do manually > you can try this one: > > > > > > > Riccardo (Jack) Lucchetti > > Dipartimento di Economia > > Universit=C3=A0 Politecnica delle Marche > > > > r.lucchetti(a)univpm.it > > http://www.econ.univpm.it/lucchetti > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > Gretl-users mailing list > > Gretl-users(a)lists.wfu.edu > > http://lists.wfu.edu/mailman/listinfo/gretl-users > > > _______________________________________________ > Gretl-users mailing list > Gretl-users(a)lists.wfu.edu > http://lists.wfu.edu/mailman/listinfo/gretl-users > --=20 Henrique C. de Andrade Doutorando em Economia Aplicada Universidade Federal do Rio Grande do Sul www.ufrgs.br/ppge --===============2827694323999115709==--