wntest
graphical test for white noise for a time series or a series of regression residuals
wntest
graphical test for white noise for a time series or a series of regression residualswntest(e, a, k = 0)
e
: vector, the time series (k = 0) or residuals (k > 0)a
: scalar, level of significancek
: scalar >= 0, number of regressors used to compute e as residualstp vector, value of test statistic and p-value
data(WHORMONE) out <- wntest(WHORMONE,0.05,0)
Useful links