3
$\begingroup$

Consider the parameter $\theta$, which is a deterministic unknown in the frequentist paradigm. Given a random variable $X \sim p_X(x ; \theta)$, consider the estimator $\Theta(X)$ of $\theta$, and the error defined as $$e = \Theta(X) - \theta$$ The bias of $\Theta$ is defined as $$\text{Bias}(\Theta) = E[e] = E[\Theta(X)] - \theta$$ and the variance of $\Theta$ is defined as \begin{align} \text{Var}(\Theta) &= \text{Var}(\Theta(X) - \theta) \\ &= \text{Var}(e) \\ &= E[e^2] - E[e]^2 \\ &= \text{MSE}(\Theta) - \text{Bias}(\Theta)^2 \end{align} where $\text{MSE}(\Theta) = E[e^2]$ is the mean squared-error associated with $\Theta$. We often choose $\Theta$ that minimizes the mean squared-error, which in turn minimizes the bias and variance associated with $\Theta$.

Now consider the Bayesian paradigm, where $\theta$ is a random parameter with prior $p_\theta$. Given an observation $X \sim p_{X \mid \Theta}(x \mid \theta)$, we estimate $\theta$ as $\Theta(X)$. Are there similar definitions of bias and variance in the Bayesian paradigm? I'm guessing that the answer is no, as the definitions above would not be helpful in evaluating $\Theta$. More precisely, let the error be defined as $$e = \Theta(X) - \theta$$ In this case, the randomness of $e$ is due to both $\Theta(X)$ and $\theta$, and so the moments of $e$, such as its mean (bias in the frequentist case) and variance (variance of $\Theta$ in the frequentist case) would not be useful to us.

I’m aware that loss functions are preferred to evaluate Bayesian estimators. However, I’m not sure why these would be preferred over a similar definition of bias and variance above.

$\endgroup$
0

2 Answers 2

1
$\begingroup$

$\theta$ may be random to you (or me) as we do not know it and hence we put a prior on it.

That does not preclude that there is some true value $\theta_0$ out there. (To use the perennially poor but well-known statistician's example: consider a coin that is or is not fair due to its physical properties, but for which the owner of the coin does not know if it is or is not.)

If, then, some estimator is used over repeated samples, there is nothing wrong with computing its expected value (and similar comments apply to its variance) over repeated samples and see if that expectation coincides with the true value or not. Spoiler: mostly, Bayesian estimators are not unbiased.

For instance, the expected value of the posterior mean for binomial data with true success probability $\theta_0$ and beta priors with hyperparameters $(\alpha_0,\beta_0)$ can be written as $$ E_{Y|\theta_0}\left[E(\theta|y)\right]=w\frac{\alpha _{0}}{\alpha_{0}+\beta_0}+E_{Y|\theta_0}\left[(1-w)\frac{k}{n}\right]=w\frac{\alpha _{0}}{\alpha_{0}+\beta_0}+(1-w)\theta_0\neq\theta_0 $$ with $k$ the number of successes and $$ w=\frac{\alpha _{0}+\beta_0}{\alpha_{0}+\beta_0+n} $$

It is argued by Bayesians that we may not care since we want a good rule for the sample at hand (say, the above posterior mean).

$\endgroup$
0
$\begingroup$

In a Bayesian context, parameter estimation is traditionally based on the concept of a loss function.

Using your notation, this a function $L(\theta,\Theta(X))$ which represents the penalty incurred as a result of the difference between the estimated value $\Theta(X)$ and the true value $\theta$.

If we want a point estimator of $\theta$, we can then choose the $\Theta(X)$ which minimises the expected loss under the posterior distribution of $\theta$.

For example, if the chosen loss function is $L(\theta,\Theta(X))=(\theta - \Theta(X))^2$ (quadratic loss), we minimise its expectation by taking $\Theta(X) = \mathbb{E}(\theta|X)$, i.e. the posterior mean of $\theta$.

$\endgroup$
1
  • $\begingroup$ I’m aware that loss functions are used to evaluate estimators in the Bayesian context. However, this answer doesn’t discuss why loss functions are used over something similar to the bias and variance I gave. $\endgroup$
    – mhdadk
    Feb 22 at 19:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.