Home   >   User Resources   >   Online Help   >   apaIsUnitRootADF
 

 

Function index Version 3.0.0

apaIsUnitRootADF(ColumnVector, NumberOfLags, ConfidenceLevel, TestType)

Excel=apaIsUnitRootADF(ColumnVector, NumberOfLags, ConfidenceLevel, TestType)

Result

Augmented Dickey-Fuller test for a unit root. Returns a TRUE/FALSE indication, the test statistic and the critical value.

Syntax

ColumnVector: r x 1 data vector containing a time series

NumberOfLags: number of lagged differences to include

ConfidenceLevel: confidence level, e.g. 0.95.

TestType: 1 = with constant and time trend, 2 = with constant and no time trend, 3 = no constant and no time trend (random walk)

Remarks

Residual variance is SSE/(n − k), i.e. degrees-of-freedom corrected.