2.4 Random Variables

We have just discussed various ways of assigning probability values to the outcomes of an experiment. Let us now use this probability information to compute the expected outcome, variance, and standard deviation of the experiment. This can help select the best decision among a number of alternatives.

A random variable assigns a real number to every possible outcome or event in an experiment. It is normally represented by a letter such as X or Y. When the outcome itself is numerical or quantitative, the outcome numbers can be the random variable. For example, consider refrigerator sales at an appliance store. The number of refrigerators sold during a given day can be the random variable. Using X to represent this random variable, we can express this relationship as follows:

X=number of refrigerators sold during the day

In general, whenever the experiment has quantifiable outcomes, it is beneficial to define these quantitative outcomes as the random variable. Examples are given in Table 2.5.

Table 2.5 Examples of Random Variables

EXPERIMENT OUTCOME RANDOM VARIABLE RANGE OF RANDOM VARIABLES
Stock 50 Christmas trees Number of Christmas trees sold X = number of Christmas trees sold 0, 1, 2, . . . , 50
Inspect 600 items Number of acceptable items Y = number of acceptable items 0, 1, 2, . . . , 600
Send out 5,000 sales letters Number of people responding to the letters Z = number of people responding to the letters 0, 1, 2, . . . , 5,000
Build an apartment building Percent of building completed after 4 months R = percent of building completed after 4 months 0 R 100
Test the lifetime of a lightbulb (minutes) Length of time the bulb lasts up to 80,000 minutes S = time the bulb burns 0 S 80,000

When the outcome itself is not numerical or quantitative, it is necessary to define a random variable that associates each outcome with a unique real number. Several examples are given in Table 2.6.

Table 2.6 Random Variables for Outcomes That Are Not Numbers

EXPERIMENT OUTCOME RANGE OF RANDOM VARIABLES RANDOM VARIABLES
Students respond to a questionnaire

Strongly agree (SA)

Agree (A)

Neutral (N)

Disagree (D)

Strongly disagree (SD)

X={5 if SA4 if A3 if N2 if D1 if SD 1, 2, 3, 4, 5
One machine is inspected

Defective

Not defective

Y={0 if defective1 if not defective 0, 1
Consumers respond to how they like a product

Good

Average

Poor

Z={3 if good2 if average1 if poor 1, 2, 3

There are two types of random variables: discrete random variables and continuous random variables. Developing probability distributions and making computations based on these distributions depend on the type of random variable.

A random variable is a discrete random variable if it can assume only a finite or limited set of values. Which of the random variables in Table 2.5 are discrete random variables? Looking at Table 2.5, we can see that the variables associated with stocking 50 Christmas trees, inspecting 600 items, and sending out 5,000 letters are all examples of discrete random variables. Each of these random variables can assume only a finite or limited set of values. The number of Christmas trees sold, for example, can only be integer numbers from 0 to 50. There are 51 values that the random variable X can assume in this example.

A continuous random variable is a random variable that has an infinite or an unlimited set of values. Are there any examples of continuous random variables in Table 2.5 or 2.6? Looking at Table 2.5, we can see that testing the lifetime of a lightbulb is an experiment whose results can be described with a continuous random variable. In this case, the random variable, S, is the time the bulb burns. It can last for 3,206 minutes, 6,500.7 minutes, 251.726 minutes, or any other value between 0 and 80,000 minutes. In most cases, the range of a continuous random variable is stated as lower valueSupper value, such as 0S80,000. The random variable R in Table 2.5 is also continuous. Can you explain why?

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset