[em14][此贴子已经被作者于2006-7-6 15:16:37编辑过]
one needs to install dfuller.ado,dfgls.ado & pperron.ado first before using. The easiest way to get it is search all in Help.
or directly search in google.
once you get the ado. files, save it under STATA\ado\ , then use ssc install *.ado to install it.
after installing them, you can freely use them, for help , just type: help dfuller/dfgls/pperon.
Personally, I don't think these tests can solve any problem. It is very difficult to get good data.
----------------------------------------------------------------------------------------------------------
help for hadrilm (StataList distribution 20 July 2001)
----------------------------------------------------------------------------------------------------------
Hadri panel stationarity test
hadrilm varname [if exp] [in range]
hadrlim is for use with panel data. You must tsset your data before using hadrilm, using the panel form
of tsset; see help tsset.
varname may contain time-series operators; see help varlist.
Description
hadrilm performs a test for stationarity in heterogeneous panel data (Hadri, 2000). This Lagrange
Multiplier (LM) test has a null of stationarity, and its test statistic is distributed as standard normal
under the null. The series may be stationary around a deterministic level, specific to the unit (i.e. a
fixed effect) or around a unit-specific deterministic trend. The error process may be assumed to be
homoskedastic across the panel, or heteroskedastic across units. Serial dependence in the disturbances can
also be taken into account using a Newey-West estimator of the long run variance. The residual-based test
is based on the squared partial sum process of residuals from a demeaning (detrending) model of level
(trend) stationarity.
Test results and p-values are placed in the return array.
Examples
. use http://fmwww.bc.edu/ec-p/data/hayashi/sheston91.dta,clear
. hadrilm rgdppc if country<11
. hadrilm D.rgdppc if country<11
References
Hadri, Kaddour. Testing for stationarity in heterogeneous panel data.
The Econometrics Journal, 3, 2000, 148-161.
Acknowledgements
Thanks to Kameliia Petrova for assistance with validation of this code.
Author
Christopher F Baum, Boston College, USA
baum@@bc.edu
Also see
On-line: kpss (if installed), nharvey (if installed)
hadrilm rgdppc if country >11
Hadri (2000) panel unit root test for rgdppc
with 26 observations on 114 cross-sectional units
-----------------------------------------------------------
eps Z(mu) P-value Z(tau) P-value
-----------------------------------------------------------
Homo 154.963 0.0000 71.917 0.0000
Hetero 125.520 0.0000 66.136 0.0000
SerDep 30.674 0.0000 17.132 0.0000
-----------------------------------------------------------
H0: all 114 timeseries in the panel are stationary processes
Homo: homoskedastic disturbances across units
Hetero: heteroskedastic disturbances across units
SerDep: controlling for serial dependence in errors (lag trunc = 4)
.
结果怎么解释?求教!!
扫码加好友,拉您进群



收藏
