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: how to group variables into equal number groups
From 
 
Xixi Lin <[email protected]> 
To 
 
statalist <[email protected]> 
Subject 
 
st: how to group variables into equal number groups 
Date 
 
Tue, 26 Mar 2013 10:30:42 -0400 
Hi,
 I am trying to make independent variables into decile groups, and I
used xtile decile=x1 if Period==`z', nq(10); however, it turns out
that xtile does not make equal number of the 10 groups, is there any
way to force stata to divide them into equal number of obs or almost
equal number of obs?
Thanks,
Xixi Lin
*
*   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/