Statalist The Stata Listserver


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

RE: st: Avplot and xtreg


From   "Nick Cox" <[email protected]>
To   <[email protected]>
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 
[email protected] 

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

[email protected]

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