Suoranta.Finance Namespace
Suoranta.Finance - Developer API

TimeSeriesModels..::..DickeyFullerStatistic Method (IOhlcValueArrays)

Perform Dickey-Fuller test of stationarity. In this test, the dependent variable is the absolute difference of consecutive values, and free variable is the time series value itself. Hypothesis being tested is that there is a unit root (process is stationary). The null hypothesis is non-stationarity.

Namespace:  Suoranta.Finance.Models
Assembly:  Suoranta.Finance (in Suoranta.Finance.dll)

Syntax


public static double DickeyFullerStatistic(
	this IOhlcValueArrays ohlcValues
)

Parameters

ohlcValues
Type: Suoranta.Finance..::..IOhlcValueArrays
OHLC series

Return Value

DF statistic, which is a negative number. Greater negative values indicate stronger rejection of the hypothesis being tested. If value is closer to zero than critical value, that indicates it is possible that the time series is stationary.