Expectation¶
Compute expected value of a function of a random variable.
Over a data list it is the empirical (sample) mean of the expression with the variable replaced by each data point.
Expectation¶Compute expected value of a function of a random variable.
Over a data list it is the empirical (sample) mean of the expression with the variable replaced by each data point.