Learn R Programming

NTS (version 1.1.3)

F.test: F Test for Nonlinearity

Description

Compute the F-test statistic for nonlinearity

Usage

F.test(x, order, thres = 0)

Value

The function outputs the test statistic and its p-value, and return a list with components:

test.stat

test statistic.

p.value

p-value.

order

AR order.

Arguments

x

time series.

order

AR order.

thres

threshold value.

Examples

Run this code
y=rnorm(100)
F.test(y,2,0)

Run the code above in your browser using DataLab