Beruflich Dokumente
Kultur Dokumente
p. 1/40
Introduction
Text Reference: Introduction to Probability and Its
Application, Chapter 4.
Reading Assignment: Sections 4.1-4.2, February
16-February 18
p. 2/40
Introduction
It is reasonable to believe that observing a large
number of heads (say, 90) or a small number of tails
(say, 15) would be an indication of an unbalanced coin.
However, where do one draw the line? At 85 or 75 or 65
or 55? Without knowing the probability of the frequency
of the number of heads from a balanced coin, one
cannot draw such a line. Hence, we would not be able
to draw any conclusions from the sample of 100 coin
flips.
The concepts and techniques of probability developed
in this chapter will allow us to calculate such thresholds
we seek.
p. 3/40
Random Variables
Sample space need not consist of numbers. But very
often we are interested in numerical outcomes
associated with the random phenomenon generating
the sample space.
Example 4.1:
Random Variables
Example 4.2:
In the game of craps played in casinos, the player
tosses two dice. A natural way of listing the events is to
describe the number on the first die and the number on
the second die. Hence, the sample space is.
S = {(i, j), i, j = 1, 2, 3, 4, 5, 6} .
p. 5/40
Random Variables
Definition 4.1:
A random variable is a real-valued function or rule defined
over a sample space that assigns a number to each outcome
of a random experiment.
p. 6/40
Random Variables
Z = number of words spelled correctly in a spelling test.
T = number of bacteria per cubic centimeter of drinking water.
V = number of heart beats per minute.
W = number of batteries examined until a good one is found.
p. 7/40
Joke
p. 8/40
p. 9/40
p. 10/40
Example 4.3:
10
11
12
P (X = x)
1
36
2
36
3
36
4
36
5
36
6
36
5
36
4
36
3
36
2
36
1
36
p. 12/40
Definition 4.2:
The probability distribution or probability mass function of a
discrete random variable X is a mathematical function that
can be represented by a formula, a table or a graph that
assigns to every possible outcome (X = x), its probability
of occurrence P (X = x). It is sometimes simply denoted by
p(x).
p. 13/40
p. 14/40
p. 15/40
Example 4.4:
A supervisor in a manufacturing plant has three men and three
women for him. He wants to choose two workers for a special job.
Not wishing to show any biases in the selection, he decided to select
the two workers at random. Let X denote the number of women in
his selection. Find the probability distribution for X.
6
Solution: The supervisor can select two workers from six in 2
ways. Hence, S contains 15 sample points assumed to be equally
likely. The values for X are 0, 1, 2.
p(0)
P (X = 0) =
`3 `3
0
`62 =
2
p(1)
P (X = 1) =
`3 `3
1
`61 =
2
p(2)
1
5
3
5
`3 `3
1
5
2
Discrete Random Variable: Part I
P (X = 2) =
`60 =
p. 17/40
Hence,
x
p(x)
1/5
3/5
1/5
or in short
p(x) =
3
3
x 2x
6
2
x = 0, 1, 2 .
Example 4.5:
Solution:
The values for Y are 1, 2, 3, and 4.
2
5
p(1)
P (X = 1) = P (A or B typed first) =
p(2)
p(3)
p(4)
32
3
=
54
10
322
1
=
543
5
321
1
=
543
10
Hence,
x
p(x)
.4
.3
.2
.1
p. 19/40
b
X
p(x)
x=
Theorem 4.2:
Every distribution function satisfies the following four properties:
1. lim F (x) = 0
x
2.
lim F (x) = 1
F (a) F (b)
h0+
p. 22/40
10
11
12
p(x)
1
36
1
36
2
36
1
12
3
36
1
6
4
36
5
18
5
36
5
12
6
36
7
12
5
36
13
18
4
36
5
6
3
36
11
12
2
36
35
36
1
36
F (x)
P (X = 7) = F (7) lim F (7 + h)
h0
= F (7) F (6) =
5
1
7
=
12 12
6
5 1
4
=
6 6
6
P (4 < X 9) = p(5) + p(6) + p(7) + p(8) + p(9)
4
5
6
5
4
24
=
+
+
+
+
=
36 36 36 36 36
36
p. 23/40
Example 4.7:
Consider two r.v. X and Y , representing the profit from two different
investments. Suppose the two probability distributions have been set
up as follows:
X=x
-2000
-1000
1000
2000
5000
pX (x)
.05
.10
.10
.25
.50
Y =y
1000
2000
3000
5000
pY (y)
.40
.20
.20
.10
.10
p. 24/40
we
expect
on
average
Discrete Random Variable: Part I
p. 25/40
over the long-run.
Solution:
X = 2000(.05) 1000(.10) + 1000(.10) +
2000(.25) + 5000(.50)
= 2900.
Y = 0(.40) + 1000(.20) + 2000(.20) + 3000(.10) +
5000(.10)
= 1400.
p. 27/40
Solution:
First scenario of flat fee: = 5000
Discrete Random Variable: Part I
p. 28/40
p. 29/40
p. 30/40
=E X
where E X
2
2 .
x2 p(x).
x
Discrete Random Variable: Part I
p. 31/40
Solution:
2
X
= 5, 490, 000
X = 2343.07
and
and
Y2 = 2, 440, 000
Y = 1562.05
p. 32/40
Number of repairs, x
p(x)
0.2
0.3
0.4
0.1
p. 33/40
0.84 = 0.92
=
The standard deviation of the number of repairs is 0.92 times per
year.
The cost of the maintenance is 50X + 200.
E(50X + 200) = 50(1.4) + 200 = 270
V (50X + 200)
50X+200
2100 = 45.83
=
Joke
p(x)
.129
.264
.271
.185
.095
.039
.017
Solution:
= 1.402
1 = (0.636, 3.440),
2 = (.766, 4.842),
3 = (2.168, 6.244),
Theorem 4.5:
Let X be a discrete random variable with the probability function p(x) and g1 (X), g2 (X), . . . , gk (X) be k
functions of X . Then,
p. 37/40
0.8
0.6
0.4
0.20
0.15
0.10
0.2
0.05
0.00
0.25
1.0
p. 38/40
Tchebysheffs Inequality
The following theorem can be used to determine the
bound for the probability that a random variable X fall in
an interval k .
Theorem 4.6: Tchebysheffs Theorem
Let X be a random variable with mean and finite variance 2 .
Then, for any constant k > 0,
1
P |X | < k 1 2
k
or
P |X | k
1
k2
p. 39/40
Solution:
Note that 400 stands at 2.84 standard deviation
($45.83) of the mean $270. Thus, k = 2.84 and the
resulting interval ($140, $400) must contain at least
1
1
= 0.88
1 2 =1
2
k
2.84