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]

Re: st: Error r(103) after gengroup command


From   daniel klein <[email protected]>
To   [email protected]
Subject   Re: st: Error r(103) after gengroup command
Date   Sat, 26 May 2012 01:07:47 +0200

Rachel,

the FAQ ask you to explain where user-written programs you use come
from. -gengroup- is available from SSC. I have no clear idea what the
program is supposed to do, but the code reads

[...]
syntax varlist(numeric min=1 max=1)
[...]

which implies that you are not allowed to specify more than one
variable. The help file is clearly misleading here, as it states that
a varlist is allowed and also gives examples using more than one
variable. My advice is to contact the author.

Best
Daniel

--
[...]
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.
[...]
Any ideas on what I am doing wrong?
*
*   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