statsmodels.stats.contingency_tables.SquareTable.marginal_probabilities

method

SquareTable.marginal_probabilities()

Estimate marginal probability distributions for the rows and columns.

Returns
rowndarray

Marginal row probabilities

colndarray

Marginal column probabilities