View source: R/tests_seasonality.R
seasonality_qs | R Documentation |
QS (seasonal Ljung-Box) test.
seasonality_qs(data, period = NA, nyears = 0, type = 1)
data |
the input data. |
period |
Tested periodicity. Can be missing if the input is a time series |
nyears |
Number of periods or number of cycles considered in the test, at the end of the series:
in periods (positive value) or years (negative values).
By default ( |
type |
1 for positive autocorrelations, -1 for negative autocorrelations,
0 for all autocorrelations. By default ( |
A c("JD3_TEST", "JD3")
object (see statisticaltest()
for details).
s <- do_stationary(log(ABS$X0.2.09.10.M))$ddata
seasonality_qs(s)
seasonality_qs(random_t(2, 1000), 7)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.