[Limdep Nlogit List] Creating A Loop
Abdulbaki Bilgic
tebrik at yahoo.com
Tue Sep 25 19:04:49 EST 2007
Hello All,
I think i have a simple problem on functioning an appropriate loop
procedure. Suppose i have two variables Y and X:
Y X
0 3.4
0 4.5
0 1.5
2 3
2 4
3 5
3 6
3 7
5 2
5 2
I would like to create an additional variable representing an average
value of X when Y=j, where j=0,2,3,5 in this case. For example,
Y X Z
0 3.4 A
0 4.5 A
0 1.5 A
2 3 B
2 4 B
3 5 C
3 6 C
3 7 C
5 2 D
5 2 D
Where A is XBAR(X) When Y=0 and so forth. I know how to handle this in
Gauss but i never tried in LIMDEP. Any advice on how to compute this
would be greatly appreciated.
Thanks in advance,
Bilgic
____________________________________________________________________________________
Catch up on fall's hot new shows on Yahoo! TV. Watch previews, get listings, and more!
http://tv.yahoo.com/collections/3658
More information about the Limdep
mailing list