apaIsNormalJB(TimeSeries, ConfidenceLevel)
Excel
=apaIsNormalJB(TimeSeries, ConfidenceLevel)Result
Jarque-Bera test whether a time series is normally distributed. Returns a TRUE/FALSE indication and the p-value.
Syntax
TimeSeries: r x 1 data vector containing a time series
ConfidenceLevel: confidence level, e.g. 0.95.
Remarks
The test statistic is assumed to be chi-square distributed, which is an approximation only. The larger the number of observations, the more accurate the approximation.
The p-value is the right-tail probability of the JB statistic under the chi-square distribution with two degrees of freedom.
Uses sample skewness and sample excess kurtosis (as Excel SKEW and KURT).
