statsmodels.stats.contingency_tables.Table2x2.independence_probabilities

Table2x2.independence_probabilities

Returns fitted joint probabilities under independence.

The returned table is outer(row, column), where row and column are the estimated marginal distributions of the rows and columns.