skewtest

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

Tests whether the skewness 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 [22]:
from verticapy.datasets import load_titanic
titanic = load_titanic()
titanic["age"].hist()
Out[22]:
<AxesSubplot:xlabel='"age"', ylabel='Density'>
In [23]:
from verticapy.stats import skewtest
skewtest(titanic,
         column = "age")
Out[23]:
value
Statistic5.113542671124092
p_value3.161722923897016e-07
Rows: 1-2 | Columns: 2