statsmodels.stats.contingency_tables.Table.independence_probabilities

Table.independence_probabilities()[source]

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.