On Wed, 30 Apr 2014, Ignacio Diaz-Emparanza wrote:
the last line in this script makes gretl to crash: (gretl from today
CVS on
Ubuntu Linux 12.04)
<hansl>
nulldata 8
series vari= { 1; 2; 3; 4; 5; 6; 7; 8}
series w = { 1; 1; 1; 1; 2; 2; 2; 2 }
summary vari --weight=w
</hansl>
Thanks, Ignacio: this is now fixed in CVS.
The crash was related to the fact that, with so few datapoints, the 5% and
95% percentiles are effectively undefined, and this was unhandled (my
fault). Fun fact: this is one of the few fixes that was physically coded
jointly by Allin and myself, cause we happen to be in the same room at
the moment! :)
-------------------------------------------------------
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
-------------------------------------------------------