testRmACD | R Documentation |
Tests if there is any remaining ACD structure in the residuals
testRmACD(fitModel, pStar = 2, robust = TRUE)
fitModel |
a fitted ACD model, i.e. an object of class "acdFit". |
pStar |
the number of alpha parameters in the alternative hypothesis. See |
robust |
if |
For the model
x_i = \mu_i \phi_i \epsilon_i,
\mu_i = \omega + \sum_{j=1}^{p} \alpha_j x_{i-j} + \sum_{j=1}^{q} \beta_j \mu_{i-j},
\phi_i = 1 + \sum_{j=1}^{p*} \frac{x_{i-j}}{\mu_{i-j}},
the function tests the null hypothesis
H_0: \phi_i = 1.
a list containing:
chi2 |
the value of the LM statistic. |
pv |
the pvalue of the test statistic. |
Markus Belfrage
Meitz, M. and Terasvirta, T. (2006). Evaluating models of autoregressive conditional duration. Journal of Business and Economic Statistics 24: 104-124.
testTVACD
, testSTACD
.
fitModel3000obs <- acdFit(adjDurData[1:3000,])
testRmACD(fitModel3000obs, pStar = 2, robust = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.