statsmodels.stats.contingency_tables.Table.marginal_probabilities

Table.marginal_probabilities()[source]

Estimate marginal probability distributions for the rows and columns.

Returns:
  • row (ndarray) – Marginal row probabilities
  • col (ndarray) – Marginal column probabilities