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

st: Re: statsby and xtreg

From   "Michael Blasnik" <[email protected]>
To   <[email protected]>
Subject   st: Re: statsby and xtreg
Date   Mon, 12 Apr 2004 13:20:51 -0400

It seems unusual that you would have xtreg models that you want to run by
group using statsby, but it's certainly possible.  I think that if the
dataset is -tsset- then the new -statsby- will use the older method that
does not emply -in-, which should work.

Michael Blasnik
[email protected]

----- Original Message ----- 
From: "Jesper B. Sorensen" <[email protected]>
To: <[email protected]>
Sent: Monday, April 12, 2004 12:50 PM
Subject: st: statsby and xtreg

> I want to use statsby to collect coefficient estimates from xtreg, fe, but
> it fails.  As far as I can determine this is because statsby, buidling on
> statsbyfast, uses
> -in- instead of -if - to select the by groups.  -xtreg- does not allow the
> use of -in-
> I gather that the current version of statsby use -in- because it is faster
> in most cases
> (  But I do
> not see an option in the help for statsby to override the use of in and
> force the use of if.  Or am I missing something?
> Thanks,
> Jesper

*   For searches and help try:

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