3.11.21.1.1.1.8. statsmodels.stats.tabledist.TableDist.prob

TableDist.prob(x, n)[source]

find pvalues by interpolation, eiter cdf(x) or sf(x)

returns extrem probabilities, 0.001 and 0.2, for out of range

Parameters:

x : array_like

observed value, assumed to follow the distribution in the table

n : float

sample size, second parameter of the table

Returns:

prob : arraylike

This is the probability for each value of x, the p-value in underlying distribution is for a statistical test.