Description Usage Arguments Value Author(s) References See Also Examples
This function implements the panel Covariate Augmented Dickey-Fuller (pCADF) test developed in Costantini and Lupi (2012). The panel unit root tests proposed in Choi (2001) and in Demetrescu et al. (2006) can also be performed using this function.
1 2 3 4 |
Y |
a multiple time series or a T \times N matrix. It contains the series to be tested. The series may have different length. |
X |
a vector, a matrix, or a vector time series of stationary covariates. If no |
covariates |
a character or a vector of scalars containing integers from 1 to N. The default is |
crosscorr |
a real scalar between 0 and 1. It is the threshold of the p-value of Pesaran's test for cross-correlation.
If the actual test p-value is lower than |
type |
a character or a N-vector of characters. It defines the deterministic kernel to be used in the tests.
It accepts the values used in package |
data |
not used. |
max.lag.y |
maximum number of lags allowed for the lagged differences of the variable to be tested. Both a scalar integer or a N-vector of integers can be used. When using a scalar, the same maximum lag is used for all the series. Different maximum lags can be used for each series by defining a N-vector of integers. |
min.lag.X |
an integer scalar or an vector of integers. Same as |
max.lag.X |
an integer scalar or an vector of integers. Maximum lag allowed for the covariates. Same as
|
dname |
NULL or character. It can be used to give a special name to the model. If the NULL default is accepted and the model is specified using a formula notation, then dname is computed according to the used formula. |
criterion |
it can be either |
... |
Extra arguments that can be set to use special kernels, prewhitening, etc. in the estimation of
ρ^2. A Quadratic kernel with a VAR(1) prewhitening is the default choice. To set
these extra arguments to different values, see |
The function returns an object of class c("pCADFtest", "htest")
containing:
statistic |
the test statistic. |
parameter |
the estimated nuisance parameter ρ^2 (see Hansen, 1995, p. 1150). |
method |
the test performed: it can be either |
p.value |
the p-value of the test. |
corr |
logical. |
individual.tests |
a N \times 5 matrix containing the values of the p.value, ρ^2, the orders p, q_1 and q_2 of each single test on each of the N time series. |
Pesaran |
the outcome of Pesaran's test for cross-dependence. |
Claudio Lupi
Choi I (2001). Unit Root Tests for Panel Data, Journal of International Money and Finance, 20(2), 249–272.
Costantini M, Lupi C, (2012). A Simple Panel-CADF Test for Unit Roots. Oxford Bulletin of Economics \& Statistics, doi: 10.1111/j.1468-0084.2012.00690.x.
Hansen BE (1995). Rethinking the Univariate Approach to Unit Root Testing: Using Covariates to Increase Power, Econometric Theory, 11(5), 1148–1171.
Hartung J (1999). A Note on Combining Dependent Tests of Significance, Biometrical Journal, 41(7), 849–855.
Lupi C (2009). Unit Root CADF Testing with R, Journal of Statistical Software, 32(2), 1–19. http://www.jstatsoft.org/v32/i02/
Pesaran MH (2004). General Diagnostic Tests for Cross Section Dependence in Panels, University of Cambridge, mimeo.
Zeileis A (2004). Econometric Computing with HC and HAC Covariance Matrix Estimators, Journal of Statistical Software, 11(10), 1–17. http://www.jstatsoft.org/v11/i10/
Zeileis A (2006). Object-Oriented Computation of Sandwich Estimators, Journal of Statistical Software, 16(9), 1–16. http://www.jstatsoft.org/v16/i09/.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.