Re: [Gretl-users] Loop question

2010-05-25 Thread Kehl D ániel
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 List-Post: gretl-users@gretlml.univpm.it

Re: [Gretl-users] Loop question

2010-05-25 Thread Kehl D ániel
Or alternatively you can try loop i=1..n and use 6*i inside the loop if you need the numbers you wrote as an example. daniel -Original Message- From: "Riccardo (Jack) Lucchetti" To: Gretl list List-Post: gretl-users@gretlml.univpm.it Date: Tue, 25 May 2010 08:08:26 +0200 (CEST) Subjec

[Gretl-users] compare regression models

2010-04-09 Thread Kehl D ániel
Dear list-members, I have the task to compare regression models. The models are not nested. For the simplest case let's consider the two simple regressions ols y 0 x1 ols y 0 x2 Is it possible to test if x2 is a significant better regressor of y than x1 is? Should I use an F-test to test this

[Gretl-users] Descriptive label

2010-04-02 Thread Kehl D ániel
Dear Community, is it possible to save the Descriptive label for a new generated series? If i have series ln_$j = ln(lnlist.$j) in a script, it would be good to have a label just like in case I create the series in the graphical mode. Thanks: Daniel

Re: [Gretl-users] GRETL: Return Computation

2010-03-20 Thread Kehl D ániel
Dear Simari, try the following short script:

[Gretl-users] list question

2010-03-16 Thread Kehl D ániel
Dear List-members, I have a really simple question. I want to compress my small code below: list ylist = 10 13 16 19 loop foreach i ylist series ln2_$i = ln(ylist.$i*GERD95) endloop list ylist = 11 14 17 20 loop foreach i ylist series ln2_$i = ln(ylist.$i*GERD97)

[Gretl-users] (no subject)

2009-10-31 Thread Kehl D ániel
Dear gretl users, I have a realy simple question. In my script I want to use two loops. In fact I want to make some rounding. The first loop takes only integer values (1 to bmax), but the other should go from a = -b/2 to a=b/2 with specified steps. I want to name the resulting serires, but the

[Gretl-users] Chow/QLR

2009-09-23 Thread Kehl D ániel
Dear List-members, I have a question concerning Chow test and a cross-sectional database. Is it possible to test a series of observations somehow? Isn't it possible to do a test like QLR for time series? The observations have to be in ascending/descending order, and one could say the largest F

Re: [Gretl-users] rounding

2009-09-18 Thread Kehl D ániel
Dear Ignacio and Riccardo! Thank you for your help! I understand now what the problem was! The script is now: loop 10 --progressive loop 1 genr u = normal() genr u2 = round(u) endloop genr a = mean(u) genr b = sd(u) genr a2 = mean(u2) genr b2 =sd(u2) store

[Gretl-users] rounding

2009-09-18 Thread Kehl D ániel
Dear Community, I want to generate x random numbers and compute some descripive statistics on the results. Than I round the values of the random numbers and want to know, how my desriptive statistics have changed. I want to make this process n times. I have two questions. 1. Is there a way to s