PRnd: ND Test

Description Usage Arguments Value References Examples

Description

Compute the ND test statistic of Pena and Rodriguez (2006, JSPI).

Usage

1
PRnd(x, m = 10, p = 0, q = 0)

Arguments

x

time series.

m

the maximum number of lag of correlation to test.

p

AR order.

q

MA order.

Value

PRnd function outputs the ND test statistic and its p-value.

References

Pena, D., and Rodriguez, J. (2006) A powerful Portmanteau test of lack of fit for time series. series. Journal of American Statistical Association, 97, 601-610.

Examples

1
2
y=arima.sim(n=500,list(ar=c(0.8,-0.6,0.7)))
PRnd(y,10,3,0)

NTS documentation built on Aug. 6, 2020, 5:08 p.m.

Related to PRnd in NTS...