[Gretl-users] New rank function for genr

Riccardo (Jack) Lucchetti r.lucchetti at univpm.it
Tue May 22 12:24:07 EDT 2007


On Tue, 22 May 2007, Sven Schreiber wrote:

> andreas.karlsson at ltv.se schrieb:
>> r.lucchetti at univpm.it @ INTERNET skrev 2007-05-22 16:10:30 :
>>
>> [snip]
>>
>> It surely would be easier to use genr y = ceiling(x)
>
> Well I guess that Jack meant that you define a reusable function that
> does that.
>

In this case, the overhead to the source would be minimal. But in general, 
I agree with Sven that if users wrote their own functions to do stuff, 
that would be very useful.

[snip]
> (Aside from that, I wouldn't call it rank because of the rank concept in
> linear algebra.)

Sven is right. We already have the rank() function as a matrix function. 
Changing its behaviour if the argument is a series is feasible, but I'm 
wondering if the usefulness of rank() for series outweighs or not the 
potential confusion that may arise. We probably should leave the decision 
to the commander-in-chief (no, not THAT one).


Riccardo (Jack) Lucchetti
Dipartimento di Economia
Università Politecnica delle Marche

r.lucchetti at univpm.it
http://www.econ.univpm.it/lucchetti


More information about the Gretl-users mailing list