The medq command calculates univariate or multivariate medians and distance quantiles either by groups specified by a grouping variable or for the entire data set being used.
Options allow you to specify quantiles to report that differ from the default quantiles.
This is generally used as descriptive statistics with MRPP analyses and describes the distributional changes detected by MRPP.