[Scipy-svn] r2353 - trunk/Lib/stats
scipy-svn at scipy.org
scipy-svn at scipy.org
Tue Dec 5 14:50:53 EST 2006
Author: oliphant
Date: 2006-12-05 13:50:48 -0600 (Tue, 05 Dec 2006)
New Revision: 2353
Modified:
trunk/Lib/stats/continuous.lyx
trunk/Lib/stats/morestats.py
Log:
Add a link to a paper which explains the bayes_mvs code.
Modified: trunk/Lib/stats/continuous.lyx
===================================================================
--- trunk/Lib/stats/continuous.lyx 2006-12-05 19:32:01 UTC (rev 2352)
+++ trunk/Lib/stats/continuous.lyx 2006-12-05 19:50:48 UTC (rev 2353)
@@ -693,7 +693,7 @@
Median and mode
\layout Standard
-The mean,
+The median,
\begin_inset Formula $m_{n}$
\end_inset
Modified: trunk/Lib/stats/morestats.py
===================================================================
--- trunk/Lib/stats/morestats.py 2006-12-05 19:32:01 UTC (rev 2352)
+++ trunk/Lib/stats/morestats.py 2006-12-05 19:50:48 UTC (rev 2353)
@@ -40,6 +40,11 @@
### Bayesian confidence intervals for mean, variance, std
##########################################################
+## See the paper "A Bayesian perspective on estimating
+## mean, variance, and standard-deviation from data
+## at http://dspace.byu.edu/bitstream/1877/438/1/bayes_mvs.pdf
+## (Permanent link at http://hdl.handle.net/1877/438 )
+
# assume distributions are gaussian with given means and variances.
def _gauss_mvs(x, n, alpha):
xbar = x.mean()
More information about the Scipy-svn
mailing list