powered by
wntest
wntest graphical test for white noise for a time series or a series of regression residuals
wntest(e, a, k = 0)
vector, the time series (k = 0) or residuals (k > 0)
scalar, level of significance
scalar >= 0, number of regressors used to compute e as residuals
tp vector, value of test statistic and p-value
# NOT RUN { data(WHORMONE) out <- wntest(WHORMONE,0.05,0) # }
Run the code above in your browser using DataLab