statsmodels.stats.contingency_tables.SquareTable.fittedvalues

method

SquareTable.fittedvalues()

Returns fitted cell counts under independence.

The returned cell counts are estimates under a model where the rows and columns of the table are independent.