[Gretl-users] quantile() and matrices

Sven Schreiber svetosch at gmx.net
Fri Feb 1 19:41:05 EST 2008


Am 02.02.2008 00:32, Allin Cottrell schrieb:
> As per Andreas's suggestion (and mainly thanks to Jack) the 
> quantile() function is now extended to matrices.
> 
> Example:
> 
> <script>
> nulldata 10
> matrix a = mnormal(10000,4)
> matrix q = quantile(a, .975)
> print q
> </script>
> 
> Should produce something resembling:
> 
> q (1 x 4)
> 
>       1.9678       1.9509       1.9975       1.9947 
> 

Well I'm glad there is still one open feature request by someone else 
than me (namely futurdorko), otherwise it would make me seem too 
greedy... ;-)

(oh, and thanks for this new feature even though I didn't ask for it, I 
think I may need it next week)

cheers,
sven


More information about the Gretl-users mailing list