powered by
Compute the F-test statistic for nonlinearity
F.test(x, order, thres = 0)
The function outputs the test statistic and its p-value, and return a list with components:
test statistic.
p-value.
AR order.
time series.
threshold value.
y=rnorm(100) F.test(y,2,0)
Run the code above in your browser using DataLab