Learn R Programming

FitAR (version 1.94)

getRho: Normalized rho unit root test statistic

Description

Utility function used by UnitRootTest

Usage

getRho(ans)

Arguments

ans
output from FitAR

Value

Value of the test statistic

See Also

getT UnitRootTest

Examples

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

Run the code above in your browser using DataLab