Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: New Mata package on SSC: Quantile and cumulative distribution functions (mf_quantile)


From   "Jann Ben" <ben.jann@soz.gess.ethz.ch>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: New Mata package on SSC: Quantile and cumulative distribution functions (mf_quantile)
Date   Thu, 8 Sep 2005 16:11:00 +0200

Thanks to Kit Baum, a new Mata package called -mf_quantile-
is available form SSC.

-mf_quantile- provides Mata functions to compute quantiles 
and empirical cumulative distribution functions. 

The functions are: 

 quantile(x,w,p): returns p-quantiles of x

 median(x,w):     returns the median of x

 iqrange(x,w):    returns the inter-quatile range

 ecdf(x,w):       returns the empirical cumulative
                  distribution function 

 relrank(x,w,q):  returns the relative ranks of q in the 
                  distribution of x

 colrunsum(Z):    auxiliary function to compute running 
                  sums 


To install the package, type

 . ssc install mf_quantile

After that, to view the helpfile, type

 . help mata quantile()

or

 . help mf_quantile

ben


*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index