Am 06.07.2018 um 22:51 schrieb Allin Cottrell:
On Wed, 4 Jul 2018, Sven Schreiber wrote:
> How is the "ghost" actually kept in the bundle? By ID number, and if
> so, what happens upon renumbering? Or by name?
By ID number or name would be too fragile, given that series can be
deleted or renamed. We store in the bundle an array of "doubles" along
with a record of its length. This array can be pulled back out as a
series if its length matches that of the current dataset (either its
total length or the current sample size).
Hm, but the same thing can be done with a matrix (vector), no? Then
what's really the difference between a series and a matrix in a bundle?
Plain series can be used in gretl commands, but AFAIK you can't put
series-in-bundles directly in commands (as in ols b.y const b.x), either
- for certain reasons that we have discussed previously.
My feeling is that either some meta data needs to be attached to a
series, or otherwise the official recommendation perhaps should be to go
via matrix explicitly. Not that I'm pushing for the first option, just
thinking in terms of coherent design.
thanks,
sven