Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: bug in -xtile-

From   "Dr. Yu Chen" <>
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:

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