Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: announcing statsbyfast - a faster statsby

From   "Michael Blasnik" <>
To   <>
Subject   st: announcing statsbyfast - a faster statsby
Date   Thu, 17 Jul 2003 11:13:25 -0400

Given a recent thread on Statalist about how slow statsby can be when
working with large panel datasets and some private email interest in some
code I had written to do faster bygroup regressions, I took the plunge and
re-worked the official Stata -statsby- command so that it uses the
faster -in- method of identifying by groups instead of the -if- method.
This approach provides all of the flexibility of statsby, but with a 6x-10x
speed improvement on larger panel datasets.  The new ado -statsbyfast- is
now posted on SSC for downloading.  statsbyfast is statsby with fewer than
10 lines of changed code and it works identically as far as I can tell.

Michael Blasnik

*   For searches and help try:

© Copyright 1996–2023 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index