This function performs the ADF tests on the idiosyncratic and common components
for PANIC (2004).
Usage
adf04(y,k,p)
Arguments
y
A matrix containing the data.
k
An integer specifying the maximum lag order for individual
ADF regressions. Bai and Ng (2004) suggest 4*(Time/100)^(.25) rounded
to the nearest whole number as the maximum number of lags.
p
An integer of value either 0 or 1. p is the order of the deterministic
function in the regression. 0 is for constant only and 1 is to include a trend.
Value
tstat A vector of t statistics for each column of the input matrix