Bayesian confidence intervals for the mean, var, and std.
Parameters : | data : array_like
alpha : float, optional
|
---|---|
Returns : | Returns a 3 output arguments for each of mean, variance, and standard deviation. :
mctr, (ma, mb) : :
vctr, (va, vb) : :
sctr, (sa, sb) : :
|
Notes
Converts data to 1-D and assumes all data has the same mean and variance. Uses Jeffrey’s prior for variance and std.
Equivalent to tuple((x.mean(), x.interval(alpha)) for x in mvsdist(dat))
References
T.E. Oliphant, “A Bayesian perspective on estimating mean, variance, and standard-deviation from data”, http://hdl.handle.net/1877/438, 2006.