Hi Sven,
Thanks very much.
I'll give that a try.
"I often see problems in the world and wonder why someone doesn't fix them. Then
I realize that I am someone, and that makes me feel bad because it is all my fault."
http://dilbert.com/blog/entry/fixing_the_world/
________________________________
From: Sven Schreiber <svetosch(a)gmx.net>
To: Gretl list <gretl-users(a)lists.wfu.edu>
Sent: Monday, January 26, 2009 3:26:49 PM
Subject: Re: [Gretl-users] Question - sorting the sample according to one of the
observations
Raz Lev schrieb:
Hi,
I am trying to run a Goldfeld-Quandt and to do that I need to sort all
the observations according to one of the explanatory variables.
Can someone say how I can do that?
(I tried running multiple sortby but this is quite labor intensive and
very very error sensitive)
according to a recent hint by Allin (and related to what's in the
cheatsheet chapter of the manual I guess) you could try:
dataset sortby your_x_variable
If the ordering is supposed to be descending, I'm guessing that you
would have to do:
genr sortkey = -your_x_variable
dataset sortby sortkey
no guarantees, but good luck,
sven
_______________________________________________
Gretl-users mailing list
Gretl-users(a)lists.wfu.edu
http://lists.wfu.edu/mailman/listinfo/gretl-users