Example:Height as a random variable

From CS2800 wiki

For example, if we were to model an experiment where I select a person and sample their height, then a reasonable sample space would be the set of people, and the random variable of interest would be the function [math]H : \href{/cs2800/wiki/index.php/S}{S} \href{/cs2800/wiki/index.php/%E2%86%92}{→} \href{/cs2800/wiki/index.php?title=%E2%84%9D&action=edit&redlink=1}{ℝ} [/math] where [math]H(p) [/math] is the height of person [math]p [/math].