Computes a multivariate version of the Jarque-Bera test for normality. Note that there are more sophisticated versions of this (for instance, Doornik and Hansen, "An Omnibus Test for Univariate and Multivariate Normality"). This just transforms the input residual series to uncorrelated components (using an eigenbased factorization if not provided by the user) and sums up the univariate JB statistics from those.
mvjb.src
- Procedure file - requires RATS 7.3 or later
- (2.51 KiB) Downloaded 93 times
@MVJB( options) u start endParameters | u | VECTOR of SERIES |
| start end | Range for the calculation [by default, the maximum combined range of the u's] |
OptionsNote: one of these must be supplied.
SIGMA=
SYMMETRIC covariance matrix of uFACTOR=
RECTANGULAR factor of the covariance matrix of u.
HMATRICES=
SERIES[SYMM] of time-varying covariance matrices.