kurtosistest

In [ ]:
kurtosistest(vdf: vDataFrame, 
             column: str)

Test whether the kurtosis is different from the normal distribution.

Parameters

Name Type Optional Description
vdf
vDataFrame
❌
input vDataFrame.
column
str
❌
Input vcolumn to test.

Returns

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

Example

In [16]:
from verticapy.datasets import load_titanic
titanic = load_titanic()
titanic["age"].hist()
Out[16]:
<AxesSubplot:xlabel='"age"', ylabel='Density'>
In [17]:
from verticapy.stats import kurtosistest
kurtosistest(titanic,
             column = "age")
Out[17]:
value
Statistic1.0639336519419524
p_value0.28735875699025515
Rows: 1-2 | Columns: 2