Random Variables
   

   

 Math Help -> Statistics -> Random Variables 

Contents of this section:

Here's what you'll find in this section:

Random Variables

In an experiment, each outcome can be associated with a single number by using a rule of association, or random variable. By converting outcomes to numbers, we can use mathematics to give us insight into the experiment or study being conducted.

 
bulletVariable A rule which associates a single number with the outcome of an experiment (an event).
bulletRandom Variable The random variable takes a countable number of values. In other words, it has a discrete sample space.
bulletRandom Variable The random variable takes on values in an interval (it has a continuous sample space).

NOTE:\ We usually denote random variables with capital letters, e.g., the random variables X or Y.

EXAMPLE:\ Consider the following random variables:
bulletX = 1 (0) if a randomly selected person prefers Pepsi (Coke). (Categorical random variable.)
bulletX = # of Aggies attending a home football game. (Discrete random variable.)
bulletX = length of a rainbow trout. (Continuous random variable.)

 
bulletMean and Variance of Random Variables
bullet

Mean and Variance of Random Variables

 
bulletThe mean [or expected value] of a discrete random variable X, denoted tex2html_wrap_inline3277 [or E(X)], is given by

displaymath3281

NOTE: (Properties of E): Let a and b be real constants, then

  1. E(a)=a,
  2. E(aX+b)=aE(X)+b.
bulletThe variance of a discrete random variable X, denoted tex2html_wrap_inline3295 [or tex2html_wrap_inline3297 ], is defined as

eqnarray780

A shortcut formula for the variance, which is usually easier to evaluate then the definition formula, is

displaymath3301

or in symbols,

displaymath3303

NOTE: (Properties of tex2html_wrap_inline3305 ): Let a and b be real constants, then

  1. tex2html_wrap_inline3311 ,
  2. tex2html_wrap_inline3313 .

EXAMPLE:\ At a certain country market, the probabilities (long-run frequencies) for the number of apples bought by customers was tabulated:

 

The expected value of the number of apples purchased is

eqnarray787

Its variance is computed in two stages: first we calculate tex2html_wrap_inline3321 as follows,

eqnarray790

and then we apply the formula for the variance

eqnarray794

The standard deviation of X is obtained by tex2html_wrap_inline3327 .

NOTE:\ The expected value of a random variable X is just a weighted average of the values of X, where the weights are the associated probabilities (or relative frequencies).

 

 

Internet References

 

Related pages in this website

 

 

The webmaster and author of the Math Help site is Graeme McRae.
     [home]  [email]  [search]  [Links to Math Sites]  [Whiteboard]