Thanks Michael.
You are right.
The statsby in our mainframe version of stata seems very old.
I get the following info:
. which statsby
/usr/local/stata7/ado/base/s/statsby.ado
*! version 1.0.8 01jun2001
I will talk to my university system administrator to update these...
----- Original Message -----
From: "Michael Blasnik" <[email protected]>
To: <[email protected]>
Sent: Saturday, June 26, 2004 10:22 AM
Subject: st: Re: Re: RE: Multiple commands under "By varlist"?
> I wonder if you are using an up-to-date -statsby- that included some
> dramatic speed improvements for larger panel datasets like you are
> sing. -which statsby- shows the following for me:
>
> *! version 2.0.5 13apr2004
>
> The key speed improvement is from doing away with the -if- statements in
the
> group identification in the code and instead using -in-. I find that
> statsby with a regression on 1000 panels takes only slightly longer than
> by...:regress. Your finding of 15-20x longer indicates that you are most
> likely using the older version.
>
> Michael Blasnik
> [email protected]
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/