Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Avplot and xtreg


From   [email protected]
To   [email protected]
Subject   Re: st: Avplot and xtreg
Date   Wed, 13 Sep 2006 12:06:42 -0500

In addition, you could use -twoway function-

For example

sysuse auto,clear
qui xtreg mpg gear, i(fore) fe
qui sum gear
twoway function y = _b[_cons] + _b[gear_ratio]*x, /// 
 range(`=r(min)' `=r(max)') || scatter mpg gear

Scott


----- Original Message -----
From: David Jacobs <[email protected]>
Date: Wednesday, September 13, 2006 10:49 am
Subject: Re: st: Avplot and xtreg
To: [email protected]

> Since you are running a fixed-effects model, estimate with regress 
> but include the case (and time?) dummies.  After regress avplot 
> should work.
> 
> Dave Jacobs
> 
>
*
*   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/



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