Am 01.03.2016 um 20:14 schrieb Allin Cottrell:
On Tue, 1 Mar 2016, Sven Schreiber wrote:
> Am 01.03.2016 um 19:44 schrieb Pedro Bação:
>> Hello,
>> If I run the script
>>
>> nulldata 10
>> smpl 6 10
>> series y=t
>> matrix my=y
>
> I cannot explain why exactly you are getting the results you are
> getting with the different gretl versions [...]
The old version did not record and make use of the observation
information when matrix (column vector) "my" was created. The new
version does, so when you go to make a series out of "my", gretl
"knows"
that it contains no data corresponding to observations 1 to 5.
Hm, I'm not sure I like it. I mean in principle it is very clever, but
OTOH up to now the clear distinction between series and matrices in
gretl was that that latter is just pure numbers (well, sometimes with
column and row names, ok).
I admit that sometimes I wish I could use matrices in gretl commands
just like series, and there are problems with the division between
series and matrices, but that's a pretty fundamental design decision. It
kind of feels like R-dataframe-envy or something like that :-)
And as Pedro demonstrated, trying to be clever does come with side effects.
thanks,
sven