Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: xtile command; Stata 10
From
Junlin Liao <[email protected]>
To
[email protected]
Subject
Re: st: xtile command; Stata 10
Date
Wed, 27 Apr 2011 09:31:51 -0500
My guess is that your data has a lot of ties.
On Wed, Apr 27, 2011 at 9:08 AM, pouya_e <[email protected]> wrote:
> Greetings,
>
> I cannot find out why the xtile command in Stata does not give me
> approximately equal number of observations for each quantile :
>
>
> . xtile quintileDSO=DSO, n(5)
>
> .
> . ta quintileDSO
>
> 5 quantiles |
> of DSO | Freq. Percent Cum.
> ------------+-----------------------------------
> 1 | 427 21.58 21.58
> 2 | 401 20.26 41.84
> 3 | 385 19.45 61.29
> 4 | 455 22.99 84.28
> 5 | 311 15.72 100.00
> ------------+-----------------------------------
> Total | 1,979 100.00
>
> .
>
>
>
> --
> View this message in context: http://statalist.1588530.n2.nabble.com/xtile-command-Stata-10-tp6309599p6309599.html
> Sent from the Statalist mailing list archive at Nabble.com.
> *
> * For searches and help try:
> * http://www.stata.com/help.cgi?search
> * http://www.stata.com/support/statalist/faq
> * http://www.ats.ucla.edu/stat/stata/
>
--
Junlin
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/