We define a loss function

  • Squared error: .
  • Absolute error: .
    • An alternative to squared error which does not penalize large errors too much
  • Posterior mode: .

with respect to to find the optimal estimator.