On Sun, 27 Jul 2014, Sven Schreiber wrote:
I'm struggling with an error message after trying to do an
'omit' after
simple OLS. The message says (re-translated): "Can't do this: some vars
in original model have been redefined", and I traced this message back
to lib/src/gretl_list.c:2013.
There it says "Checks whether any variable in @list has been redefined
via gretl's %genr command since a previous model (identified by @ref_id)
was estimated." However, my script has the 'omit' right after the
'ols',
so how could that happen?
Also, changing some options (like --robust in the estimation, or --auto
in the omit command) or re-starting gretl sometimes seemed to work in
the sense that I got some omit tests, but then it wasn't and still isn't
reproducible. I also couldn't get the error with some example dataset,
sorry.
The sample here is an undated cross-section, coming from "slicing"
through a panel by restricting the sample to a single time period.
I've tried some examples of this but have not managed to provoke an error.
I think we're going to need a specific dataset that triggers the problem.
Allin