The Lebesgue integral of the standard normal pdf over $\mathbb{Q}$ is equal to zero, since the rationals are countable and thus have measure zero. So the probability of "drawing" a rational number from the standard normal is equal to zero. You are guaranteed to draw an irrational.
In applied statistics, however, "sampling" from the standard normal using a random number generator only yields rational numbers that can be represented exactly under the IEEE-754 standard. This also limits the range of possible values.
Expectation
- Rationals should be impossible to draw.
- We draw from a continuous distribution.
- Range is all of $\mathbb{R}$.
Reality
- Rationals are all we get.
- We draw from a discrete distribution.
- Range is a subset of $\left[10^{-309}, 10^{309}\right] $ (with double precision).
Question
What does this imply for applied stats, in particular when random samples from continuous distributions are simulated?
In applied stats it's not a problem since the rational numbers are dense in $\mathbb{R}$. The difference between the set of rational numbers and any real number is $0$, since you can always find a rational number $q$ arbitrarily close to any irrational number $r$. So although we're sampling from the rationals, since the rationals are dense in $\mathbb{R}$, this has no real consequences to us.
I would liken this issue to that of "true randomness." In reality, true randomness cannot be generated in any real sense, and so "truly random samples" cannot be generated. But pseudo-random number generators are plentiful and basically indistinguishable from true random number generators in any practical setting.