3.11.21.1.1. statsmodels.stats.tabledist.TableDist¶
-
class
statsmodels.stats.tabledist.
TableDist
(alpha, size, crit_table)[source]¶ Distribution, critical values and p-values from tables
currently only 1 extra parameter, e.g. sample size
Parameters: alpha : array_like, 1d
probabiliy in the table, could be either sf (right tail) or cdf (left tail)
size : array_like, 1d
second paramater in the table
crit_table : array_like, 2d
array with critical values for sample size in rows and probability in columns
Notes
size and alpha should be increasing
3.11.21.1.1.1. Methods¶
__init__ (alpha, size, crit_table) |
|
crit (prob, n) |
returns interpolated quantiles, similar to ppf or isf |
crit2 (prob, n) |
returns interpolated quantiles, similar to ppf or isf |
crit3 (prob, n) |
returns interpolated quantiles, similar to ppf or isf |
poly2d () |
|
polyn () |
|
polyrbf () |
|
prob (x, n) |
find pvalues by interpolation, eiter cdf(x) or sf(x) |