# BayesianMean

Estimates a mean using outside information.

## Parameters

- **prior**

  *Type* → `float`
- **prior\_weight**

  *Type* → `float`

## Attributes

- **name**

## Methods

> [!NOTE]
>
> **get**
>
> Return the current value of the statistic.

> [!NOTE]
>
> **revert**

> [!NOTE]
>
> **update**
>
> Update the called instance.
>
> **Parameters**
>
> - **x** — `float`

## References

- [Additive smoothing](<https://en.wikipedia.org/wiki/Additive_smoothing>)
- [Bayesian average](<https://en.wikipedia.org/wiki/Bayesian_average>)
- [Practical example of Bayes estimators](<https://en.wikipedia.org/wiki/Bayes_estimator#Practical_example_of_Bayes_estimators>)
