Learn R Programming

makicoint (version 1.0.0)

dftau: Compute DF Tau Statistic

Description

Computes the Dickey-Fuller tau statistic for unit root testing.

Usage

dftau(dy, x)

Value

A list containing:

tau

The tau statistic (t-statistic for the first coefficient)

s2

Sum of squared residuals

Arguments

dy

Numeric vector of first differences of residuals.

x

Matrix of lagged residuals and differenced lags.