I agree it's not ideal, ...
I think it is far from being ideal. My understanding of the concept of
a session based work model is one where the users are able to estimate
different models and later revisit them and to all sorts of
comparisons and tests. There is little advantage of saving a model if
the user will not be able to perform any tests, draw and graphs or
save the fitted values etc.
Currently, what gretl wants is the user to manually return back to the
original subsample before performing such operations but this may not
be even possibe as in the case of models based on a random subsample.
Plus, I notice that the "Modify Model..." function under the Edit menu
is not affected by this behavior. So if one open a model, say using
the full range, and if the data is currently subsampled, after
modifying the model by adding or subtracting various variables, what
he gets will be a model based on a different subsample.
The current situation can also be annoying because, OK, say I opened a
model using a different subsample and tried to run a test. Gretl
warns me that the model is subsampled differently and makes the Tests
and Graphs menu ghosted. (Why are not the menus ghosted as soon as I
open the model window is a different question here.) So I go ahead and
manually adjust the subsample but what happens now is that those menus
are still ghosted so I need to first close the window and reopen it
just because they will not be ghosted anymore.
In conclusion, I have a suggestion: Could you please make it such that
whenever a model is saved as an icon, gretl internally saves the
observation numbers of the subsample as a vector? This will make it
possible that when the user opens a saved model or activates an open
model window, gretl first checks whether the current subsample matches
with those of the model and opens up a dialog box asking if the user
wants to return to the subsample used by the model. If the user say
"yes" the subsample is automatically adjusted. If the user says "no,"
then the Tests and Graphs menus are diasabled along with the "Modify
model" option.
Could you please consider this?
Cheers
Talha
--
“Remember not only to say the right thing in the right place, but far
more difficult still, to leave unsaid the wrong thing at the tempting
moment.” - Benjamin Franklin (1706-1790)
--