statsmodels.stats.contingency_tables.SquareTable.independence_probabilities#

SquareTable.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.