In probability theory, when having $ E(f(X))=\int_{-\infty}^\infty f(x)\, dg(x) $, an expectation of a measurable function $f$ of a random variable $X$ with respect to its cumulative distribution function $g$,
- is it true that it is always a Lebesgue–Stieltjes integral?
- Furthermore, is it always a Riemann–Stieltjes integral?
Thanks and regards!