adf04 | R Documentation |
This function performs the ADF tests on the idiosyncratic and common components for PANIC (2004).
adf04(y,k,p)
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. |
tstat A vector of t statistics for each column of the input matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.