On Mon, 10 Sep 2018, Sven Schreiber wrote:
Am 10.09.2018 um 15:18 schrieb Allin Cottrell:
> On Mon, 10 Sep 2018, Riccardo (Jack) Lucchetti wrote:
>>
>> Thi doesn't have to be in libgretl. In fact, it could be part of the
>> "extra" package, unless I'm missing something.
>
> You're right. Here's proof-of-concept hansl prototype:
[of a couple of functions to replace stack()]
OK, as long as 'extra' is shipped with gretl (which it now
is, IIRC) I think
it would not be more difficult for the user to call this new function instead
of applying the current solution.
In fact "extra" is not currently shipped with gretl. That could be
easily arranged, but in that case I think it would be best to put it
into git and treat it as an "addon". That way, as with the other
addons, it would always be up to date in snapshots, and prior versions
would be retained whenever the gretl version requirement is bumped up.
Any thoughts on that?
> function matrix pstack (int N, list L,
> const string fname[null],
> const strings vnames[null])
I guess I still have some thoughts and comments about the function signature
and defaults and what kind of text file input arrangement is supported in
detail, but I don't have time right now. Since it's pure hansl I'm happy to
make concrete code proposals later.
Fine. I now have an improved prototype which I'm happy to supply on
request. It now has some proper error-checking, and it adds "unit" and
"time" series to the CSV file to make it easier to get gretl to
recognize the data as a panel.
Allin