statsmodels.emplike.descriptive.DescStatUV.test_skew

DescStatUV.test_skew(skew0, return_weights=False)[source]

Returns -2 x log-likelihood and p-value for the hypothesized skewness.

Parameters:
skew0float

Skewness value to be tested

return_weightsbool

If True, function also returns the weights that maximize the likelihood ratio. Default is False.

Returns:
test_resultstuple

The log-likelihood ratio and p_value of skew0