rankQ: Rank-Based Portmanteau Tests

Description Usage Arguments Value Examples

Description

Performs rank-based portmanteau statistics.

Usage

1
rankQ(zt, lag = 10, output = TRUE)

Arguments

zt

time series.

lag

the maximum lag to calculate the test statistic.

ouput

a logical value for output. Default is TRUE.

Value

rankQ function outputs the test statistics and p-values for Portmanteau tests, and returns a list with components:

Qstat

test statistics.

pv

p-values.

Examples

1
2
y=rnorm(1000)
rankQ(y,10,output=TRUE)

ConvFuncTimeSeries/test3 documentation built on May 29, 2019, 11:41 a.m.