Bookmark and Share

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]

st: bug in -xtile-


From   "Dr. Yu Chen" <[email protected]>
To   [email protected]
Subject   st: bug in -xtile-
Date   Thu, 31 Jan 2013 19:45:39 -0600

I think there is a bug in -xtile-. I ran the code below, and I still
got deciles, but they are incomplete. I would expect missing values
because there are not enough observations.
I use Stata 12.

sysuse auto,clear
keep in 1/10
xtile decile=price if price<5000, nq(10)
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index