{ } Raw JSON

bundles / scipy latest / scipy / stats / _multivariate / random_table_frozen / mean

function

scipy.stats._multivariate:random_table_frozen.mean

source: /scipy/stats/_multivariate.py :6473

Signature

def   mean ( self )

Summary

Mean of distribution of conditional tables.

Returns

: mean: ndarray

Mean of the distribution.

Notes

See class definition for a detailed description of parameters.

Examples

from scipy.stats import random_table
row = [1, 5]
col = [2, 3, 1]
random_table.mean(row, col)
Alternatively, the object may be called (as a function) to fix the row and column vector sums, returning a "frozen" distribution.
d = random_table(row, col)
d.mean()

Aliases

  • scipy.stats._multivariate.random_table_frozen.mean