4

I'm confused about how a formula was found in Elements of Statistical Learning, pg. 11.

$$ EPE(f) = E(Y - f(X))^2 = \int [y - f(x)]^2 Pr(dx, dy) $$

$Pr(dx, dy)$ is the joint probability of $dx$ and $dy$ but how can we find probabilities of infinitesimals? Also, how did they find that integral?

Duck
  • 83
  • 1
  • 10

1 Answers1

3

The notation $Pr(dx, dy)$ is likely meant to cover both discrete and continuous distributions. In the continuous case, read this as $$Pr(dx, dy)=f(x,y)dxdy$$ The integral follows from the definition of an expected value of a function of random variables, see e.g. here. For example, in the univariate continuous case: $$ E[g(X)]:=\int g(x)f(x)dx $$