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: Extract and save R2 as a variable from looping regressions


From   Robert Picard <[email protected]>
To   "[email protected]" <[email protected]>
Subject   Re: st: Extract and save R2 as a variable from looping regressions
Date   Tue, 1 Oct 2013 13:23:50 -0400

>  . gen gr_compIDmofd=group (companyID mofd)
>
> is illegal. You must have used -egen-

Curiously, using -group()- with -generate- does not throw an error but
I have no idea what it's supposed to do. I can't find anything in the
help files about it either.

sysuse auto
gen g = group(turn)

Does anyone know what it does?

Robert

*
*   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/


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