Statalist The Stata Listserver


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

Re: st: Pooled regression


From   Clive Nicholas <crazeeclive@yahoo.co.uk>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Pooled regression
Date   Tue, 6 Mar 2007 18:07:34 +0000 (GMT)

Amiti Pitigala wrote:

I am among those who have been recently introduced to stata. I trying to 
estimate a pooled cross-sections for 1997 and 2001...The units are 
countries..but I am estimating bilateral pair of countries for a number of 
industria sectors...The data is arranged as

Country   Partner Sector LHSV  RHSV1 RHSV2 RHSV3 etc..
  A             B         A       XXX     XX      XXX    XXXX.....

I tried the command 'reg LHSV RHSV1..2...3..Country* Partner* Sector*

Is this the correct command to estimate the pooled equation.? Am I missing 
something?

Assuming that you're looking to run OLS regression models with fixed effects:

(1) -tsset- your data; and 
(2) try -areg- (using the -absorb()- option for your units) and/or -xtreg, i(unit) fe-. Both give algebraically equivalent results.

Clive Nicholas





		
___________________________________________________________ 
The all-new Yahoo! Mail goes wherever you go - free your email address from your Internet provider. http://uk.docs.yahoo.com/nowyoucan.html

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