A common mistake about expected values in mathematical statistics
A reminder about the integrand in the definition of expectation
In mathematical statistics, one of my most common mistakes occurs when I obtain the expected value of a random variable. It tends to happen more often when the random variable, ๐ณ, is continuous. Here is my mistake:
Instead of using ๐โ
f(๐) as the integrand, I use only f(๐).
This may be trivial to remember. However, if the probability density function, f(๐), is very long and complicated, then I sometimes forget that I need to multiply an "๐" to that f(๐).
Here is one way to know if I have done something wrong:
If f(๐) is a legitimate probability density function (PDF), then integrating f(๐) over all real numbers should equal to 1. This is a basic property of PDFs.
Is it possible for the expectation to equal to 1? Yes. However, in my experience, it is more likely that I made a mistake and miswrote the integrand. This result generates an alarm bell for me, reminding me to check that I set up the integral properly.



