|  |  | 
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: Pooled regression
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/