On Fri, 17 Sep 2021, Allin Cottrell wrote:
On Fri, 17 Sep 2021, Riccardo (Jack) Lucchetti wrote:
> The only thing I found missing, after some experimentation, is the ability
> to use "end" for the starting element of the matric slice, as in
>
> <hansl>
> y = x[end-2:]
> </hansl>
Hmm, that seems to work OK here:
Aha, my bad, sorry, I had mis-diagnosed the problem. The problem arises
with the $coeff accessor. For example:
<hansl>
open data4-1
ols 1 0 2 3 4
b = $coeff[end-2:]
</hansl>
-------------------------------------------------------
Riccardo (Jack) Lucchetti
Dipartimento di Scienze Economiche e Sociali (DiSES)
Università Politecnica delle Marche
(formerly known as Università di Ancona)
r.lucchetti(a)univpm.it
http://www2.econ.univpm.it/servizi/hpp/lucchetti
-------------------------------------------------------