Statalist The Stata Listserver


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

Re: st: Avplot and xtreg


From   smerryman@kc.rr.com
To   statalist@hsphsun2.harvard.edu
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 <jacobs.184@sociology.osu.edu>
Date: Wednesday, September 13, 2006 10:49 am
Subject: Re: st: Avplot and xtreg
To: statalist@hsphsun2.harvard.edu

> 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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index