I think this script will partially solve your problem (X1 to X5)
the final loop will provide X1 X2 X3 X4 X5
Message du 29/04/10 15:15
De : "Franck Nadaud"
A : gretl-users(a)lists.wfu.edu
Copie à :
Objet : [Gretl-users] selecting contiguous variables in lists
Dear GRETL folk, greetings from Paris !
I am still on my demand system analysis and AIDS modelling.
This project involves regressions in on large cross-sections (~ 10 000
observations) on households. Meanwhile, to control for heterogeneity, I use
numerous lists of qualitative variables, each on different themes like:
location in the hexagon
those lists are often composed of contiguous variables names, as for example:
x1 x2 x3 x4 x5
As often in such work one likes to account for lots of attributes, so one
needs to create long lists. In a famous paper by Blundell, Pashardes and
Weber, 1993, there are around 150 such variables.
My problem is that I cant find in the doc a way to call / create lists with
contiguous variables without enumerating all the variables names. So, is it
possible to call a list with something like:
list housing = x1 to x5 x13
list housing = x1 x2 x3 x4 x5 x13
thanks for any advice !
UMR 8568 CNRS - EHESS, ENPC, ENGREF, CIRAD
45 bis avenue de la Belle Gabrielle
94736 Nogent-sur-Marne Cedex
Gretl-users mailing list
Une messagerie gratuite, garantie à vie et des services en plus, ça vous tente ?
Je crée ma boîte mail