Bayesian average

From HandWiki
Revision as of 21:18, 6 February 2024 by NBrush (talk | contribs) (change)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

A Bayesian average is a method of estimating the mean of a population using outside information, especially a pre-existing belief,[1] which is factored into the calculation. This is a central feature of Bayesian interpretation. This is useful when the available data set is small.[2] Calculating the Bayesian average uses the prior mean m and a constant C. C is chosen based on the typical data set size required for a robust estimate of the sample mean. The value is larger when the expected variation between data sets (within the larger population) is small. It is smaller when the data sets are expected to vary substantially from one another.

[math]\displaystyle{ \bar{x} = {Cm + \sum_{i=1}^n x_i \over C + n} }[/math]

This is equivalent to adding C data points of value m to the data set. It is a weighted average of a prior average m and the sample average.

When the [math]\displaystyle{ x_i }[/math] are binary values 0 or 1, m can be interpreted as the prior estimate of a binomial probability with the Bayesian average giving a posterior estimate for the observed data. In this case, C can be chosen based on the desired binomial proportion confidence interval for the sample value. For example, for rare outcomes when m is small choosing [math]\displaystyle{ C \simeq 9/m }[/math] ensures a 99% confidence interval has width about 2m.

See also

References

  • Yang, Xiao; Zhang, Zhaoxin (2013). "Combining prestige and relevance ranking for personalized recommendation". Proceedings of the 22nd ACM international conference on Conference on information & knowledge management - CIKM '13. pp. 1877–1880. doi:10.1145/2505515.2507885. ISBN 9781450322638.