jarque_bera

In [ ]:
jarque_bera(vdf, 
            column: str, 
            alpha: float = 0.05)

Jarque-Bera test (distribution normality).

Parameters

Name Type Optional Description
vdf
vDataFrame
❌
input vDataFrame.
column
str
❌
Input vcolumn to test.
alpha
float
✓
Significance Level. Probability to accept H0.

Returns

tablesample : An object containing the result. For more information, see utilities.tablesample.

Example

In [20]:
from verticapy.datasets import load_titanic
titanic = load_titanic()
titanic["age"].hist()
Out[20]:
<AxesSubplot:xlabel='"age"', ylabel='Density'>
In [21]:
from verticapy.stats import jarque_bera
jarque_bera(titanic,
            column = "age",
            alpha = 0.01)
Out[21]:
value
Jarque Bera Test Statistic28.5338631758186
p_value6.367227064092739e-07
# Observations Used997.0
Kurtosis - 30.15689691331997
Skewness0.408876460779437
Distribution Normality
❌
Rows: 1-6 | Columns: 2