Risk of a decision rule (source code)

= Risk of a decision rule

For a model $\{P_\theta:\theta\in\Theta\}$, loss $L$, and decision rule $\delta$, the risk is
$$
R(\theta,\delta)=\mathbb E_\theta L(\delta(X),\theta).
$$