Change your country to numbers first. The following is an example. Your data should look like the following sample. Once you found the problems of heteroscedasticity and autocorrelation using the tests provided, then it will be proper to use FGLS using the following STATA command:
 
iis country
tis year
xtgls y x1 x2 x3, i(country) t(year) panels(correlated) corr(psar1)
 This code corrects for heteroscedasticity across sections (or countries), it corrects for autocorrelation within countries (serial correlation) and contemporaneous correlation (spatial correlation) between countries as well. It is similar (but not exactly same) to Parks’ method in SAS.
 Data format
 Country year x1 x2 x3 
1 1 x x x
1 2 x x x
2 1 x x x
2 2 x x x
3 1 x x x
3 2 x x x
 [此贴子已经被作者于2007-8-22 15:29:55编辑过]