50% off | Unlimited Data & AI Learning
Get 50% off unlimited learning

pdR (version 1.9.3)

pIGF: Panel unit root test of Chang(2002)

Description

Compute the panel unit root test statistic of Chang(2002).

Usage

pIGF(datamat, maxp, ic, spec)

Value

panel.tstat

panel IGF test statistics

pvalue

P-value of the panel.tstat

Arguments

datamat

T by N panel data.T is the time length,N is the number of cross-section units.

maxp

the max number of lags

ic

Information criteria, either "AIC" or "BIC".

spec

model specification.
=0, no intercept and trend.
=1, intercept only.
=2, intercept and trend.

Author

Ho Tsung-wu <tsungwu@ntnu.edu.tw>, College of Management, National Taiwan Normal University.

Details

This function estimates the panel unit root test based on univariate instrument generating function of (Chang,2002).

References

Chang,Y.(2002) Nonlinear IV Unit Root Tests in Panels with Cross-Sectional Dependency. Journal of Econometrics, 110, 261-292.

Examples

Run this code
data(inf19)
datam <- inf19
pIGF(datam,maxp=25,ic="BIC",spec=2)

Run the code above in your browser using DataLab