# Example:Sample space for the height of a random person

From CS2800 wiki

Suppose we wished to model the following experiment: select a person from the room (uniformly), and measure their height.

One possible sample space for this experiment would be the set of possible heights (or even ℝ). Another possible sample space would be the set of people in the room.

The former choice is more difficult to set up, because figuring out the probability of selecting a given height requires knowlege of the heights of the people in the room; choosing the latter is easier because one can use an equiprobable measure.