xttest2 calculates the Breusch-Pagan statistic for cross-sectional independence in the residuals of a fixed effect regression model or a GLS model estimated from cross-section time-series data. xtreg, fe estimates this model assuming independence of the errors. A likely deviation from independent errors in the context of pooled cross-section time-series data (or panel data) is likely to be contemporaneous correlations across cross-sectional units. These correlations are those exploited by Zellner's seemingly unrelated regression (SUR) estimator, and this test is provided by sureg, corr in that context. This version of the routine is updated from that published in SJ 1-1 to properly handle unbalanced panels, and will work after ivreg2 on panel data.
Download Info
To download:
If you experience problems downloading a file, check if you have the
proper application to
view it first. Information about this may be contained
in the File-Format links below. In case of further problems read
the IDEAS help
file. Note that these files are not on the IDEAS
site. Please be patient as the files may be large.
Publisher Info
Software component provided by Boston College Department of Economics in its series Statistical Software Components with number
S415702.
Size: Programming language: Stata Requires: Stata version 6.0 Date of creation: 05 Dec 2000 Date of revision:
16 Aug 2004 Handle: RePEc:boc:bocode:s415702
Note: This module may be installed from within Stata by typing "ssc install xttest2". Windows users should not attempt to download these files with a web browser. Contact details of provider: Postal: Boston College, 140 Commonwealth Avenue, Chestnut Hill MA 02467 USA Phone: 617-552-3670 Fax: +1-617-552-2308 Email: Web page: http://fmwww.bc.edu/EC/ More information through EDIRC