powered by
This function estimates the unit root regression based on instrument generating function of Change(2002) and returns useful outputs.
IGF(y, maxp, ic, spec)
IGF unit root test
regression coefficients. The first one is the AR(1) coefficient of unit root, and the last one is the intercept or trend
The IGF standard error for unit root coefficient
The scalar C in IGF equation
The optimal number of lag
A univariate time series data
the max number of lags
Information criteria, either "AIC" or "BIC"
regression model specification. =0, no intercept and trend. =1, intercept only. =2, intercept and trend.
Ho Tsung-wu <tsungwu@ntnu.edu.tw>, College of Management, National Taiwan Normal University.
Estimate univariate unit root test of Chang(2002).
Chang, Y. (2002) Nonlinear IV Unit Root Tests in Panels with Cross-Sectional Dependency. Journal of Econometrics, 110, 261-292.
data(inf19) y <- inf19[,1] IGF(y,maxp=35,ic="BIC",spec=2)$tstat.IGF
Run the code above in your browser using DataLab