bundles / scipy latest / scipy / stats / _multivariate / random_table_gen / mean
function
scipy.stats._multivariate:random_table_gen.mean
Signature
def mean ( self , row , col ) Summary
Mean of distribution of conditional tables.
Parameters
row: array_likeSum of table entries in each row.
col: array_likeSum of table entries in each column.
Returns
: mean: ndarrayMean of the distribution.
Notes
The row and column vectors must be one-dimensional, not empty, and each sum up to the same value. They cannot contain negative or noninteger entries.
Examples
from scipy.stats import random_table
✓row = [1, 5] col = [2, 3, 1]✓
random_table.mean(row, col)
✗d = random_table(row, col)
✓d.mean()
✗Aliases
-
scipy.stats._multivariate.random_table_gen.mean