Professional Documents
Culture Documents
.40
.30
.20
.10
0 1 2 3 4
Random Variables
A
A random
random variable
variable is
is aa numerical
numerical description
description of
of the
the
outcome
outcome of
of an
an experiment.
experiment.
AA discrete
discrete random
random variable
variable may
may assume
assume either
either aa
finite
finite number
number ofof values
values or
or an
an infinite
infinite sequence
sequence of of
values.
values.
AA continuous
continuous random
random variable
variable may
may assume
assume any
any
numerical
numerical value
value in
in an
an interval
interval or
or collection
collection of
of
intervals.
intervals.
Example: JSL Appliances
Let
Let xx == number
number ofof TVs
TVs sold
sold at
at the
the store
store in
in one
one day,
day,
where
where xx can
can take
take on
on 55 values
values (0,
(0, 1,
1, 2,
2, 3,
3, 4)
4)
Example: JSL Appliances
Let
Let xx == number
number ofof customers
customers arriving
arriving in
in one
one day,
day,
where
where xx can
can take
take on
on the
the values
values 0,0, 1,
1, 2,
2, .. .. ..
The
The probability
probability distribution
distribution for
for aa random
random variable
variable
describes
describes how
how probabilities
probabilities are
are distributed
distributed over
over
the
the values
values of
of the
the random
random variable.
variable.
We
We can
can describe
describe aa discrete
discrete probability
probability distribution
distribution
with
with aa table,
table, graph,
graph, or
or equation.
equation.
Discrete Probability Distributions
The
The probability
probability distribution
distribution is
is defined
defined by by aa
probability
probability function
function,, denoted
denoted byby ff((xx),), which
which provides
provides
the
the probability
probability for
for each
each value
value of
of the
the random
random variable.
variable.
The
The required
required conditions
conditions for
for aa discrete
discrete probability
probability
function
function are:
are:
f(x) > 0
f(x) = 1
Discrete Probability Distributions
Number 80/200
Units Sold of Days x f ( x)
0 80 0 .40
1 50 1 .25
2 40 2 .20
3 10 3 .05
4 20 4 .10
200 1.00
Discrete Probability Distributions
.50
.40
Probability
.30
.20
.10
0 1 2 3 4
Values
Values of
of Random
Random Variable
Variable x (TV
(TV sales)
sales)
Discrete Uniform Probability Distribution
The
The discrete
discrete uniform
uniform probability
probability distribution
distribution is
is the
the
simplest
simplest example
example ofof aa discrete
discrete probability
probability
distribution
distribution given
given by
by aa formula.
formula.
The
The discrete
discrete uniform
uniform probability
probability function
function is
is
The
The expected
expected value
value,, or
or mean,
mean, ofof aa random
random variable
variable
is
is aa measure
measure of
of its
its central
central location.
location.
E(x) = = xf(x)
The
The variance
variance summarizes
summarizes the
the variability
variability in
in the
the
values
values of
of aa random
random variable.
variable.
Var(x) = 22 = (x - )22f(x)
The
The standard deviation,, ,, is
standard deviation is defined
defined as
as the
the positive
positive
square
square root
root of
of the
the variance.
variance.
Expected Value and Variance
Expected Value
x f(x) xf(x)
0 .40 .00
1 .25 .25
2 .20 .40
3 .05 .15
4 .10 .40
E(x) = 1.20
expected number of
TVs sold in a day
Expected Value and Variance
Variance and Standard Deviation
E(x) = 1.20
2.
2. Two
Two outcomes,
outcomes, success
success and
and failure
failure,, are
are possible
possible
on
on each
each trial.
trial.
3.
3. The
The probability
probability of
of aa success,
success, denoted
denoted by
by pp,, does
does
not
not change
change from
from trial
trial to
to trial.
trial.
stationarity
4. The trials are independent. assumption
4. The trials are independent.
Binomial Distribution
Our
Our interest
interest is
is in
in the
the number
number of
of successes
successes
occurring
occurring in
in the
the nn trials.
trials.
We
We let
let xx denote
denote thethe number
number of
of successes
successes
occurring
occurring inin the
the nn trials.
trials.
Binomial Distribution
n!
f (x) p x (1 p )( n x )
x !(n x )!
where:
f(x) = the probability of x successes in n trials
n = the number of trials
p = the probability of success on any one trial
Binomial Distribution
n!
f (x) p x (1 p)( n x )
x !(n x )!
n!
p x (1 p )( n x )
x !(n x )!
Probability
Probability of
of aa particular
particular
Number
Number of of experimental
experimental sequence
sequence ofof trial
trial outcomes
outcomes
outcomes
outcomes providing
providing exactly
exactly with
with xx successes
successes inin nn trials
trials
xx successes
successes in
in nn trials
trials
Binomial Distribution
Let: p = .10, n = 3, x = 1
n!
f ( x) p x (1 p ) (n x )
x !( n x )!
3!
f (1) (0.1)1 (0.9)2 3(.1)(.81) .243
1!(3 1)!
Binomial Distribution
Expected Value
E(x) = = np
Variance
Var(x) = 2 = np(1 p)
Standard Deviation
np(1 p )
Binomial Distribution
Expected Value
Variance
Standard Deviation