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: Error r(103) after gengroup command


From   R Chase <rchase@jhsph.edu>
To   statalist@hsphsun2.harvard.edu
Subject   st: Error r(103) after gengroup command
Date   Fri, 25 May 2012 18:17:01 -0400

I have not found mention of this error elsewhere, so perhaps I am
making a mistake.
I am using Stata 11.2 on Windows 7.
I have 3 categorical variables (A1, A3, and A6) with 5 categories each
(represented with integers 0 through 4) plus a missing value of .d.
Here is the command and the error I am getting:
. gengroup A1 A3 A6
 too many variables specified
 r(103);

The command works perfectly if I specify only one variable to group
by, such as A1.
If this were a problem others were having, I'd expect to see some
posts on it, but I can't find any.
Any ideas on what I am doing wrong?

~ Rachel Chase
Johns Hopkins Bloomberg School of Public Health, doctoral student
*
*   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/


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