Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: Rollover regression

From   Maarten Buis <>
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 <> 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
*   For searches and help try:

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