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.
You can "scrub" that information by transposing the data:
<hansl>
nulldata 10
smpl 6 10
series y=t
matrix my={y}'
smpl 1 5
series yy=my'
print yy
</hansl>
Allin Cottrell