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: Rollover regression
From
Maarten Buis <[email protected]>
To
[email protected]
Subject
Re: st: Rollover regression
Date
Sun, 15 Apr 2012 15:17:46 +0200
On Sun, Apr 15, 2012 at 4:55 AM, Rui Zeng <[email protected]> wrote:
> Now I need to do this rolling regression by different groups. I do not think the -by-command can work with the -rolling- command, is there an alternative way to do this? thanks!
You can use -if- conditions to do it one group at a time and with many
groups you can do this within a loop.
-- Maarten
--------------------------
Maarten L. Buis
Institut fuer Soziologie
Universitaet Tuebingen
Wilhelmstrasse 36
72074 Tuebingen
Germany
http://www.maartenbuis.nl
--------------------------
*
* 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/