On Tue, 10 Jun 2014, Riccardo (Jack) Lucchetti wrote:
Or, alternatively,
<hansl>
function matrix deselected (list L1, list L2)
matrix m1 = L1
matrix m2 = L2
return !sumc(m1 .= m2')
end function
</hansl>
Ah, and don't forget that you can use "+" and "-", with lists, as
in
<hansl>
open data4-10
ols 1 0 2 3 4 5 6
L1 = $xlist
omit --auto=.05
list omitted = L1 - $xlist
printf "'omit' kicked out %s!\n", varname(omitted)
</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
-------------------------------------------------------