On Mon, 26 Aug 2019, Sven S wrote:
On 26.08.19 14:30, Riccardo (Jack) Lucchetti wrote:
> provided the matrix in question has the right number of rows and one
> column. In many cases, it'd be very useful to have a parallel
> "multivariate" construct, such as
> list X = matrix
> which would generate the series X_01, X_02, etc (of course, if
> rows(matrix) == $nobs). The identifiers could be taken from the column
> labels, if present, or the list name by default as in my example. This
> would be quite handy, I think.
In principle I like the idea. However, in the case of residuals in
dynamic equations typically rows(mat) != $nobs. So it seems to me this
wouldn't solve the present use case.
Perhaps the t1 and t2 infos of the matrix could be used to align the
generated series properly.
Yes, that's what happens in the single-series case and it would be
natural to do it for the list case too.
Which also brings me back to the question how to inject this
information into a matrix.
Sorry, I haven't been following this very closely, but what's the case
where you'd need to inject such information (I mean, where it wouldn't
already be attached by gretl)?