


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
When we assign a number to the outcome of a random process, we call this a random variable. For example, flipping a coin once is a random process, ...
Typology: Study notes
1 / 4
This page cannot be seen from the preview
Don't miss anything!



Stacey Hancock
When we assign a number to the outcome of a random process, we call this a random variable. For example, flipping a coin once is a random process, and we could define the random variable X to take on the value 0 if the coin lands on tails and 1 if the coin lands on heads. Examples of other random variables include:
Not only are questions about the distribution of a random variable, or its probabilities, of interest, but we may want to determine the “average” or expected value of a random variable as well as how far it tends to vary from its expected value, or its standard deviation. We will only study expected value and standard deviation for discrete random variables which are random variables whose set of possible values form a countable list of distinct values. For example, the number of girls in the next three births at the Bozeman hospital is a discrete random variable since it can only take on the values 0, 1, 2, or
If we know the probabilities of each of the possible values of a discrete random variable, then we can calculate the long-run average of the variable, or its mean value over an infinite number of observations of the random variable. We call this its expected value. Suppose the random variable X can take on possible values k 1 , k 2 , k 3 ,... Then we define the expected value of X as
Mathematical definition:
E(X) = k 1 × P (X = k 1 ) + k 2 × P (X = k 2 ) + k 3 × P (X = k 3 ) + ...
= sum of “value×probability” summed over all possible values
Interpretation: The expected value of X, E(X), is the mean value that would be obtained from an infinite number of observations of the random variable, or its long-run average.
Example: Suppose that in a gambling game, it costs $1 to play, and you win $2 with probability 0. or $10 with probability 0.02 (otherwise you lose your dollar). Let X be the net amount won. Then the probability distribution of X is
X = net amount won $9 $1 −$ Probability 0.02 0.37 1 − 0. 37 − 0 .02 = 0. 61
If you were to play this game a large number of times, how much money would you win per game on average?
The expected net amount won is
E(X) = 9(0.02) + 1(0.37) − 1(0.61) = − 0. 06.
That is, in the long-run, you can expect to lose about $0.06 per game, on average.
Mathematical definition:
SD(X) =
(k 1 − E(X))^2 × P (X = k 1 ) + (k 2 − E(X))^2 × P (X = k 2 ) + ...
= square root of the sum of “(value − expected value) squared ×probability” summed over all possible values Interpretation: The standard deviation of X, SD(X), is the approximate average distance we would expect an observation of the random variable to be away from its mean in an infinite number of observations of the random variable.
Example (continued): Consider the gambling game from the previous example. On average, how far away from −$0.06 are your net winnings per game in the long run?
The standard deviation of the net amount won per game is
SD(X) =
Thus, in the long run, the net winnings per game are about $1.61 away from −$0.06.
A population is the entire collection of all individuals about which information is desired. Often it is infeasible to measure every individual in the population, so we take a sample, or subset, of individuals from the population, and use measurements on the sample to infer information about the larger population. The expected value (mean) and standard deviation defined above are for a