Statalist The Stata Listserver


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

RE: st: Avplot and xtreg


From   "Riano, Juanita" <JRiano@imf.org>
To   <statalist@hsphsun2.harvard.edu>
Subject   RE: st: Avplot and xtreg
Date   Wed, 13 Sep 2006 14:00:28 -0400

Scott and Dave, 

Thank you for your suggestions!

Juanita

-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of
smerryman@kc.rr.com
Sent: Wednesday, September 13, 2006 1:07 PM
To: statalist@hsphsun2.harvard.edu
Subject: Re: st: Avplot and xtreg

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/

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