Hello Gretl folks, greetings from Paris !
Now returning to GRETL, for (I hope) a while, I have a minor report to submit.
I am currently preparing data for a cross-section demand system estimation
(AIDS or QAIDS stuff) on a large survey file (~10.000 observations). To avoid
clumsy and repetitive (and error prone) action, I decided to use the gretl
variable list concept. However, one I haved defined my list and I want to do
computations, gretl manifested the following minor problem:
When I use the following script:
list ALL = dataset
list NON_DEP = 1 2 237 238 239 240 241 242 243
list DEP = ALL - NON_DEP
nel = nelem(DEP)
series DEPTOT = sum(DEP)
gretl says: argument should be series, is list, but it seems ok on the manual,
chapter 11 on lists and computations.
However, when I try this dirty little trick:
list ALL = dataset
list NON_DEP = 1 2 237 238 239 240 241 242 243
list DEP = ALL - NON_DEP
nel = nelem(DEP)
series DEPTOT = mean(DEP)*235
all runs smooth and well !
Well, it's ok for me, but looks like a minor bug nope ?
cheers
Franck
--
Franck Nadaud
CIRED
UMR 8568 CNRS - EHESS, ENPC, ENGREF, CIRAD
45 bis avenue de la Belle Gabrielle
94736 Nogent-sur-Marne Cedex
TEL: 33-1-43-94-73-94
FAX: 33-1-43-94-73-70
MOB: 06-07-39-92-75
France