cottrell(a)wfu.edu @ INTERNET skrev 2007-05-23 13:45:03 :
On Tue, 22 May 2007, andreas.karlsson(a)ltv.se quoted:
> > As for "mode()", I'm all for it, provided we find a sensible >
>
way to handle multi-modal variables.
What behaviour do you think is sensible when a variable does not
have a unique mode?
x = {3,3,3,4,4,4,5,5,5}
Well, it is of course a problem with multi-modal variables. This would e.g.
result in mode = 3, 4, and 5. On second thoughts, maybe it is not that
important to include the calculation of the mode in gretl. At least not
until a sensible way to handle multi-modal variables is found.
Med vänliga hälsningar / Best regards
Andreas Karlsson