Hi, Sven, Artur, Jack and others,
Thanks for all the suggestions.
1) Helps on a more efficient script without loops:
Since gretl is not only a great research tool, but also a great teaching tool, I’m trying
to extent its usefulness.
For my online teaching of econometrics, I need to do an online exam by creating
individualized datasets with models for my students at random.
What I’m trying to do here is to create two models, one with a full set of variables, and
the other after eliminated those seemingly insignificant variables.
I will then ask the students to do a joint hypothesis test on that set of variables, thus
the "omit .... --auto” will not do.
Since the dataset was drown with a random subset of observations, I can’t tell which set
of variables will be insignificant before hand, so I need a way to find them in a script.
I’m sure there are great one-liners out there, but I haven’t read through all the
documentations to figure it out, so I’m a bit lazy and taking the easy way out by asking
for help here.
2) A wish to save .gretl dataset from a scrip:
As you can see, the way I’m using gretl, I need to send my students a .gretl dataset with
all the models and perhaps graphs. As is, I need to save each dataset manually, and it is
a bit time consuming when there are more than just a few students. I wish I can do this
through a script, perhaps using gretlcli to do that, if any of you can suggest a way.
A year ago Jack suggested a method that seems a bit out of my reach. I would like to see a
sample code for combing gretl’s .gdt file with models in a zip file become a .gretl file.
Thanks,
Fred