[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: bug in -xtile-
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/