Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: pooled OLS


From   Richard Williams <richardwilliams.ndu@gmail.com>
To   statalist@hsphsun2.harvard.edu, <statalist@hsphsun2.harvard.edu>
Subject   Re: st: pooled OLS
Date   Fri, 11 Nov 2011 22:50:13 -0500

At 09:27 PM 11/11/2011, donsaane wrote:
Hi statslist,
I would like to run a pooled OLS. I create a dummy for years. is it the
equation for pooled OLS: reg y x year1 x*year1?
thanks

In Stata 11 or 12, it is

reg y x i.year1 i.year1#c.x

Also see

http://www.stata.com/support/faqs/stat/chow.html


-------------------------------------------
Richard Williams, Notre Dame Dept of Sociology
OFFICE: (574)631-6668, (574)631-6463
HOME:   (574)289-5227
EMAIL:  Richard.A.Williams.5@ND.Edu
WWW:    http://www.nd.edu/~rwilliam

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   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   |   Site index