With the help of
statsmodels.jarque_bera() method, we can get the jarque bera test for normality and it's a test based on skewness, and the kurtosis, and has an asymptotic distribution.
👁 Image
Syntax : statsmodels.jarque_bera(residual, axis)
Return : Return the jarque bera test statistics, pvalue, skewness, and the kurtosis.
Example #1 :
In this example we can see that by using
statsmodels.jarque_bera() method, we are able to get the jarque bera test statistics, pvalue, skewness and kurtosis by using this method.
Output :
(0.28125, 0.8688150562628432, 0.0, 1.5)
Example #2 :