2.3 RANDOM VARIABLESMany, if not most, experiments have numerical values associated with different outcomes. In fact, for some experiments the finest-grained outcomes are described directly in terms of numbers. This is the case for the triangleproblem, but not for a simple flip of a coin (in which the two possible outcomes are "heads" or "tails"). But even for the flip of the coin we may wish to associate numerical values with the outcomes, say +$1 for "heads" and - $2 for "tails." To facilitate such numerical descriptions of the outcomes of an experiment, we introduce the notion of a random variable. Definition: Given an experiment with a sample space and a probability assignment over the sample space, a random variable is a function that assigns a numerical value to each finest-grained outcome in the sample space. Note: While each finest-grained outcome is unique, it is not necessary that each assigned value of the random variable be unique. Thus, two or more finest-grained points may yield the same value of the random variable. We shall usually denote random variables by capital letters, such as X, Y, or Z. Each of these represents a complete set of correspondences between finest-grained outcomes in the experiment, with their probability assignments, and associated numerical values. Thus, the notation X does not refer to a number such as 2.3 or - ![]() ![]() The set of possible values for a random variable is called its event space. For the purpose of summing probabilities, it is convenient to discuss separately discrete random variables, whose event spaces contain a finite or countably infinite number of values, and continuous random variables, whose event spaces contain a noncountably infinite number of values. |