Description Usage Arguments See Also Examples
View source: R/normality.test_sh.R
This function computes univariate and multivariate Jarque-Bera tests and multivariate skewness and kurtosis tests for the residuals of a VAR(p) or of a VECM in levels. This is a modification of vars::normality.test() for the class "varshrinkest".
1 | normality.test_sh(x, multivariate.only = TRUE)
|
x |
An object of class "varshrinkest" obtained by VARshrink(). |
multivariate.only |
If TRUE, only the multivariate statistics is computed. |
1 2 3 4 | data(Canada, package = "vars")
y <- diff(Canada)
estim <- VARshrink(y, p = 2, type = "const", method = "ridge")
normality.test_sh(estim)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.