rt 为什么?只是一个简单的pcse面板回归,加了一个滞后,还有时间虚拟变量而已。急啊求高手!!
. //Replication of Mosley and Uno 2007
.
. set more off
.
. log using "mu2007_result", text replace
----------------------------------------------------------------------------------------------------------------------------
log: C:\Documents and Settings\PC240054\デスクトップ\mu2007_result.log
log type: text
opened on: 6 Dec 2011, 10:52:20
.
. //Declaring Panel Data
.
. xtset CountryNumber year
panel variable: CountryNumber (unbalanced)
time variable: year, 1985 to 2002, but with a gap
delta: 1 unit
.
. //Lagged dependent variable + panel corrected standard errors (PCSE) + period effect dummies
.
. //Generating lagged dependent variable
.
. by CountryNumber: gen lag_laborrights = laborrights[_n-1]
(186 missing values generated)
.
. //Generating year specific dummies
.
. tabulate year, gen(y)
year | Freq. Percent Cum.
------------+-----------------------------------
1985 | 139 5.56 5.56
1986 | 139 5.56 11.12
1987 | 138 5.52 16.63
1988 | 138 5.52 22.15
1989 | 139 5.56 27.71
1990 | 139 5.56 33.27
1991 | 139 5.56 38.82
1992 | 139 5.56 44.38
1993 | 139 5.56 49.94
1994 | 139 5.56 55.50
1995 | 140 5.60 61.10
1996 | 139 5.56 66.65
1997 | 139 5.56 72.21
1998 | 139 5.56 77.77
1999 | 139 5.56 83.33
2000 | 139 5.56 88.88
2001 | 139 5.56 94.44
2002 | 139 5.56 100.00
------------+-----------------------------------
Total | 2,501 100.00
.
. //All cases
. xtpcse laborrights lag_laborrights FDIflows FDIstock ExternalDebt Trade RegionalPractices EconomicPeersPractices NGOs
> FDINGOs income growthrate population democracy civilwar y2-y18,pairwise
Number of gaps in sample: 7
(note: at least one disturbance covariance assumed 0, no common time periods
between panels)
Linear regression, correlated panels corrected standard errors (PCSEs)
Group variable: CountryNumber Number of obs = 1286
Time variable: year Number of groups = 90
Panels: correlated (unbalanced) Obs per group: min = 1
Autocorrelation: no autocorrelation avg = 14.28889
Sigma computed by pairwise selection max = 17
Estimated covariances = 4095 R-squared = 0.6395
Estimated autocorrelations = 0 Wald chi2(0) = .
Estimated coefficients = 31 Prob > chi2 = .
------------------------------------------------------------------------------
| Panel-corrected
laborrights | Coef. Std. Err. z P>|z| [95% Conf. Interval]
-------------+----------------------------------------------------------------
lag_laborr~s | .6890026 . . . . .
FDIflows | .0797555 . . . . .
FDIstock | .009282 . . . . .
ExternalDebt | .0031136 . . . . .
Trade | -.0090365 . . . . .
RegionalPr~s | .0532346 . . . . .
EconomicPe~s | -.116235 . . . . .
NGOs | -.2352064 . . . . .
FDINGOs | -.0386932 . . . . .
income | -.6281025 . . . . .
growthrate | .0628597 . . . . .
population | -.4245378 . . . . .
democracy | .0726753 . . . . .
civilwar | -.3906942 . . . . .
y2 | 3.969778 . . . . .
y3 | 1.057943 . . . . .
y4 | .4271865 . . . . .
y5 | -.2888359 . . . . .
y6 | 3.581907 . . . . .
y7 | -.5422319 . . . . .
y8 | 1.247659 . . . . .
y9 | .8131943 . . . . .
y10 | .7613329 . . . . .
y11 | 1.243491 . . . . .
y12 | .2864183 . . . . .
y13 | .1724314 . . . . .
y14 | .7470325 . . . . .
y15 | .5061149 . . . . .
y16 | -1.918508 . . . . .
y17 | -.1944284 . . . . .
y18 | (dropped)
_cons | 19.58335 . . . . .
------------------------------------------------------------------------------
.
.
.
. drop y2-y18 lag_laborrights
.
. log close
log: C:\Documents and Settings\PC240054\デスクトップ\mu2007_result.log
log type: text
closed on: 6 Dec 2011, 10:52:35
-------------------------------------------------------------------------------------------------------------------------
.
end of do-file