Statalist The Stata Listserver


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

RE: st: Avplot and xtreg


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   RE: st: Avplot and xtreg
Date   Wed, 13 Sep 2006 19:21:32 +0100

In addition, -regplot- from -modeldiag- (-search 
modeldiag-) may well work, but I've not checked. 

Nick 
n.j.cox@durham.ac.uk 

Riano, Juanita
 
> Scott and Dave, 
> 
> Thank you for your suggestions!

smerryman@kc.rr.com

> 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

David Jacobs

> > Since you are running a fixed-effects model, estimate with 
> regress but
> 
> > include the case (and time?) dummies.  After regress avplot should 
> > work.
> > 

*
*   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