random behavior such as stock returns this language Copyright © 2011 Pearson Education, Inc... 9.1 Random VariablesDefinition of a Random Variable Describes the uncertain outcomes of a
Trang 2Random Variables
Chapter 9
Trang 39.1 Random Variables
Will the price of a stock go up or down?
random behavior (such as stock returns)
this language
Copyright © 2011 Pearson Education, Inc.
3 of 33
Trang 49.1 Random Variables
Definition of a Random Variable
Describes the uncertain outcomes of a
random process
Denoted by X
Defined by listing all possible outcomes
and their associated probabilities
Trang 59.1 Random Variables
Suppose a day trader buys one share of IBM
Let X represent the change in price of IBM
She pays $100 today, and the price
tomorrow can be either $105, $100 or $95
Copyright © 2011 Pearson Education, Inc.
5 of 33
Trang 69.1 Random Variables
How X is Defined
Trang 79.1 Random Variables
Two Types: Discrete vs Continuous
Discrete – A random variable that takes on one of a list of possible values (counts)
Continuous – A random variable that takes
on any value in an interval
Copyright © 2011 Pearson Education, Inc.
7 of 33
Trang 89.1 Random Variables
Graphs of Random Variables
Show the probability distribution for a
random variable
Show probabilities, not relative frequencies from data
Trang 99.1 Random Variables
Graph of X = Change in Price of IBM
Copyright © 2011 Pearson Education, Inc.
9 of 33
Trang 109.1 Random Variables
Random Variables as Models
A random variable is a statistical model
A random variable represents a simplified
or idealized view of reality
Data affect the choice of probability
distribution for a random variable
Trang 119.2 Properties of Random Variables
Parameters
Characteristics of a random variable, such
as its mean or standard deviation
Denoted typically by Greek letters
Copyright © 2011 Pearson Education, Inc.
11 of 33
Trang 129.2 Properties of Random Variables
Mean (µ) of a Random Variable
Weighted sum of possible values with
probabilities as weights
x x p x xk p xkp
Trang 139.2 Properties of Random Variables
Mean (µ) of X (Change in Price of IBM)
The day trader expects on average to make
10 cents on every share of IBM she buys
Copyright © 2011 Pearson Education, Inc.
0 5 80
0 0 09
0 5
5 5
0 0
5 5
Trang 149.2 Properties of Random Variables
Mean (µ) as the Balancing Point
Trang 159.2 Properties of Random Variables
Mean (µ) of a Random Variable
Is a special case of the more general
concept of an expected value, E(X)
Copyright © 2011 Pearson Education, Inc.
15 of 33
X x p x x p x x k p x k
Trang 169.2 Properties of Random Variables
Variance (σ2) and Standard Deviation (σ)
The variance of X is the expected value of
the squared deviation from µ
x p x x p x x k p x k
X E
X Var
2 2
2 2
1
2 1
2 2
Trang 179.2 Properties of Random Variables
Calculating the Variance (σ2 ) for X
Copyright © 2011 Pearson Education, Inc.
17 of 33
Trang 189.2 Properties of Random Variables
Calculating the Variance (σ2 ) for X
99
4
11 0 10
0 5
80 0 10
0 0
09 0 10
0
Trang 199.2 Properties of Random Variables
The Standard Deviation (σ ) for X
Copyright © 2011 Pearson Education, Inc.
19 of 33
23 2
$ 99
Trang 204M Example 9.1:
COMPUTER SHIPMENTS & QUALITY
Motivation
CheapO Computers shipped two servers to its biggest
client Four refurbished computers were mistakenly
restocked among 11 new systems If the client receives
two new systems, the profit for the company is $10,000; if the client receives one new system, the profit is $9,600 If the client receives two refurbished systems, the company loses $800 What are the expected value and standard
deviation of CheapO’s profits?
Trang 214M Example 9.1:
COMPUTER SHIPMENTS & QUALITY
Method
Identify the relevant random variable, X,
which is the amount of profit earned on this order Determine the associated
probabilities for its values using a tree
diagram Compute µ and σ
Copyright © 2011 Pearson Education, Inc.
21 of 33
Trang 224M Example 9.1:
COMPUTER SHIPMENTS & QUALITY
Mechanics – Tree Diagram
Trang 234M Example 9.1:
COMPUTER SHIPMENTS & QUALITY
Mechanics – Probabilities for X
Copyright © 2011 Pearson Education, Inc.
23 of 33
Trang 244M Example 9.1:
COMPUTER SHIPMENTS & QUALITY
Mechanics – Compute µ and σ
E(X) = µ = $9,215
Var(X) = σ2 = 6,116,340 $2
SD(X) = σ = $2,473
Trang 254M Example 9.1:
COMPUTER SHIPMENTS & QUALITY
Message
This is a very profitable deal on average The large
standard deviation is a reminder that profits are
wiped out if the client receives two refurbished
systems.
Copyright © 2011 Pearson Education, Inc.
25 of 33
Trang 269.3 Properties of Expected Values
Adding or Subtracting a Constant (c)
Changes the expected value by a fixed
amount: E(X ± c) = E(X) ± c
Does not change the variance or standard deviation: Var(X ± c) = Var(X)
SD(X ± c) = SD(X)
Trang 279.3 Properties of Expected Values
Multiplying by a Constant (c)
Changes the mean and standard deviation
by a factor of c: E(cX) = c E(X)
Trang 289.3 Properties of Expected Values
Rules for Expected Values (a and b are
constants)
E(a + bX) = a + bE(X)
SD(a + b X) = |b|SD(X)
Var(a + bX) = b 2 Var(X)
Trang 299.4 Comparing Random Variables
May require transforming random variables into new ones that have a common scale
May require adjusting if the results from the mean and standard deviation are mixed
Copyright © 2011 Pearson Education, Inc.
29 of 33
Trang 309.4 Comparing Random Variables
The Sharpe Ratio
Trang 319.4 Comparing Random Variables
The Sharpe Ratio – An Example
S(Disney) = 0.0253
S(McDonald’s) = 0.0171
Disney is preferred to McDonald’s
Copyright © 2011 Pearson Education, Inc.
31 of 33
Trang 32Best Practices
outcomes.
models.
Trang 33Copyright © 2011 Pearson Education, Inc.
33 of 33
x