td_timevarying | R Documentation |
Likelihood ratio test on time varying trading days
td_timevarying(s, groups = c(1, 2, 3, 4, 5, 6, 0), contrasts = FALSE)
s |
The tested time series |
groups |
The groups of days used to generate the regression variables. |
contrasts |
The covariance matrix of the multivariate random walk model used for the time-varying coefficients are related to the contrasts if TRUE, on the actual number of days (all the days are driven by the same variance) if FALSE. |
A Chi2 test
s <- log(ABS$X0.2.20.10.M)
td_timevarying(s)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.