Professional Documents
Culture Documents
1
Probability Rules
Complement rule
– Each simple event must belong to either A A
or .
Since the sum of the probabilities assigned to a
simple event is one, we have for any event A
P(A) =
P(A) = 11 -- P(A)
P(A)
2
Addition rule
– For any two events A and B
P(A or
P(A
P(A) =6/13 or B)
B) =
= P(A)
P(A) +
+ P(B)
P(B) -- P(A
P(A and
and B)
B)
+
P(B) =5/13
_
A
A and B) =3/13
(A or B) = 8/13
B
A or B
3
Multiplication rule
– For any two events A and B
P(A and
P(A and B)
B) == P(A)P(B|A)
P(A)P(B|A)
= P(B)P(A|B)
= P(B)P(A|B)
P(A and
P(A and B)
B) = P(A)P(B)
= P(A)P(B)
4
• Example 6.3
– A stock market analyst feels that
the probability that a certain mutual fund will receive
6
Random Variables and
Probability Distributions
A random experiment is a function that
assigns a numerical value to each simple
event in a sample space.
A random variable reflects the aspect of a
random experiment that is of interest to us.
There are two types of random variables
– Discrete random variable
– Continuous random variable.
7
Discrete and Continuous Random Variables
AA random
random variable
variable isis discrete
discrete ifif itit can
can assume
assumeonly
only
aa countable
countable number
number of of values.
values. A A random
random variable
variable
isis continuous
continuous ifif itit can
can assume
assume an an uncountable
uncountable
number of
number of values.
values.
iscrete random variable Continuous random variable
After the first value is defined
After the first value is defined,
the second value, and any value
any number can be the next one
thereafter are known.
8
Discrete Probability Distribution
A table, formula, or graph that lists all
possible values a discrete random variable
can assume, together with associated
probabilities, is called a discrete probability
distribution..
X
0 1 2
10
Requirements of discrete probability
distribution
– If a random variable can take values xi, then the
following must be true:
1. 0≤ p(xi ) ≤ 1forallxi
2.∑ p(x ) = 1
allxi
i
1 1 3
P(1≤ X ≤ 2) = P(X = 1) + P(X = 2) = + =
2 4 4
11
Probabilities as relative frequencies
– In practice, often probabilities are estimated from
relative frequencies
– Example
The number of cars a dealer is selling daily were
recorded in the last 100 days. This data was
summarized as follows:
Daily sales FrequencyEstimate the probability
0 5 distribution.
1 15
State the probability of
2 35
3 25
selling more than 2 cars a
4 20 day.
100
12
Solution
– From the table of frequencies we can calculate
the relative frequencies, which becomes our
estimated probability distribution .35
.25
Daily sales Relative Frequency .20
.15
0 5/100=.05
1 15/100=.15 .05
2 35/100=.35
0 1 2 3 X4
3 25/100=.25
4 20/100=.20 The probability of selling
1.00 more than 2 a day is
15
Variance
– Let X be a discrete random variable with
possible
values xi that occur with probabilities p(xi), and
let
E(xi) = µ . The variance of X is defined to be
[ ]
σ 2 = E (X − µ)2 =
∑
all xi
(xi − µ)2p(xi )
16
Standard deviation
– The standard deviation of a random variable X,
denoted σ , is the positive square root of the
variance of X.
Example 6.5
– The total number of cars to be sold next week is
described by the following probability
distribution
x 0 1 2 3 4
p(x) .05 .15 .35 .25 .20
18