Statalist The Stata Listserver

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

Re: st: Pooled regression

From   Clive Nicholas <>
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 

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.

*   For searches and help try:

© Copyright 1996–2017 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index