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

st: Sorting/ranking Q from new user

From   "Eric VonDohlen" <>
To   <>
Subject   st: Sorting/ranking Q from new user
Date   Thu, 31 Jul 2003 19:51:49 -0700

I have a continuous variable X, which I would like to:

(a) sort in ascending or descending order;
(b) rank the sorted X into some specified number of groups;
(c) report the mean of X (or some other statistic) by group.

Can anyone help?

Sorry for the elementary query.

Thanks in advance
*   For searches and help try:

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