chksea | R Documentation |
Check the seasonality of each component of a multiple time series.
chksea(x, period = c(12), p = 0, alpha = 0.05, output = TRUE)
x |
T by k data matrix: T data points in rows with each row being data at a given time point, and k time series in columns. |
period |
seasonal period. Default value is 12. |
p |
Regular AR order. Default value is max(floor(log(T)),1). |
alpha |
Type-I error for the t-ratio of seasonal coefficients. Default value is 0.05. |
output |
If TRUE it returns if the series has seasonality. Default is TRUE. |
Check the seasonality fitting a seasonal AR(1) model and a regular AR(p) model to a scalar time series and testing if the estimated seasonal AR coefficient is significant.
A list containing:
Seasonal - TRUE or FALSE.
period - Seasonal period.
data(TaiwanAirBox032017) output <- chksea(TaiwanAirBox032017[,1])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.