Learn R Programming

FitAR (version 1.94)

getT: t-statistic for unit root test

Description

Utility function used by UnitRootTest

Usage

getT(ans)

Arguments

ans
output from FitAR

Value

Value of the test statistic

See Also

getRho UnitRootTest

Examples

Run this code
z <- cumsum(rnorm(100))
ans <- FitAR(z, p=1)
getT(ans)

Run the code above in your browser using DataLab