Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, is already up and running.

[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–2015 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index