mseastest | R Documentation |
correlation based multiplicative seasonality test.
mseastest(
y,
m = NULL,
type = c("pearson", "spearman", "kendall"),
cma = NULL,
sn = 1,
alpha = 0.05,
outplot = c(0, 1, 2)
)
y |
input time series. Can be |
m |
seasonal period. If |
type |
type of correlation
|
cma |
input precalculated level/trend for the analysis. Use |
sn |
number of seasonal periods of decreasing magnitude to consider for the test. |
alpha |
significance level. |
outplot |
type of output plot:
|
A list with the following:
is.multiplicative
: if TRUE
the test found evidence of multiplicative seasonality.
statistic
: test statistic.
pvalue
: p-value of the test.
Nikolaos Kourentzes, nikolaos@kourentzes.com.
mseastest(referrals)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.