Aem Probability PDF
Aem Probability PDF
Aem Probability PDF
RECALL:
Sample Space: The set of all possible outcomes of a statistical experiment is
called the sample space and is represented by the symbol S.
Each outcome in a sample space is called an element or a member of the
sample space, or simply a sample point. If the sample space has a finite
number of elements, we may list the members separated by commas and
enclosed in braces. Thus, the sample space S, of possible outcomes when a
coin is flipped, may be written S = {H,T}, where H and T correspond to heads
and tails, respectively
Example: A coin is tossed twice. What is the probability that at least 1 head occurs?
Solution: The sample space for this experiment is S = {HH, HT, TH, TT}. If the coin
is balanced, each of these outcomes is equally likely to occur. Therefore, we assign a
probability of ω to each sample point. Then 4ω = 1, or ω =1 /4. If A represents the
event of at least 1 head occurring, then
1 1 1 3
A = {HH, HT, TH} and P(A)=
4 4 4 4
RANDOM VARIABLES
Definition: A random variable is a function that associates a real number with each
element in the sample space.
We shall use a capital letter, say X, to denote a random variable and its corresponding
small letter, x in this case, for one of its values.
For example, consider the electronic component testing experiment. The sample
space giving a detailed description of each possible outcome when three electronic
components are tested may be written
S = {NNN, NND, NDN, DNN, NDD, DND, DDN, DDD},
where N denotes non-defective and D denotes defective. One is naturally concerned
with the number of defectives that occur. Thus, each point in the sample space will be
assigned a numerical value of 0, 1, 2, or 3. These values are, of course, random
quantities determined by the outcome of the experiment. They may be viewed as
values assumed by the random variable X, the number of defective items when three
electronic components are tested.
Example 1:
Two balls are drawn in succession without replacement from an urn containing 4 red
balls and 3 black balls. The possible outcomes and the values y of the random variable
Y, where Y is the number of red balls, are
Sample space RR RB BR BB
y 2 1 1 0
Example 3: Let X be the random variable defined by the waiting time, in hours,
between successive speeders spotted by a radar unit. The random variable X takes on
all values x for which x ≥ 0.(i.e., uncountable)
1. f x 0
2. f x 1
x
3. P X = x f x
Example 4: Let X be the sum of the upfaces on a roll of a pair of fair 6-sided dice,
each with the number 1 through 6 on it. The sample space is S i, j :1 i, j 6 .
1
Because the dice are fair, P i, j . The random variable X is X i, j i j
36
Let x be the values of the random variable X, then the possible values of x are 2, 3, 4
5, 6, 7, 8, 9, 10, 11 and 12.
Now,
1 2
f 2 P X=2 , f 3 P X=3
36 36
3 4
f 4 P X=4 f 5 P X=5
36 36
5 6
f 6 P X=6 f 7 P X=7
36 36
5 4
f 8 P X=8 f 9 P X=9
36 36
3 2
f 10 P X=10 f 11 P X=11
36 36
1
f 12 P X=12
36
x 2 3 4 5 6 7 8 9 10 11 12
f(x) 1 2 3 4 5 6 5 4 3 2 1
36 36 36 36 36 36 36 36 36 36 36
C 172 C 1 17 16 68
3
f 0 P X=0 200
2C 20 19 95
3
C 171 C 3 17 2 51
f 1 P X=1 1
20
2C 20 19 190
3
C 170 C 3 2 3
f 2 P X=2 2
20
2C 20 19 190
x 0 1 2
f(x) 68 51 3
95 190 190
F x P X x f t for - x
tx
1 3
F 2 P X 2 f 2 F 3 P X 3 f 2 f 3
36 36
6
F 4 P X 4 f 2 f 3 f 4
36
10
F 5 P X 5 f 2 f 3 f 4 f 5 and so on.
36
So, the cumulative distribution function of X is
0 , x2
1
36 , 2 x3
1
, 2 x3
36
3
, 3 x 4
36
6
, 4 x5
36
10 , 5 x 6
36
15
FX ,6 x7
36
21
36 ,7 x 8
26 ,8 x 9
36
30 ,9 x 10
36
33
,10 x 11
36
35
,11 x 12
36
36
36 =1 , x 12
x 0 1 2 3 4
f(x) 1 4 6 4 1
16 16 16 16 16
1. f x 0, for all x R
2. f x dx 1
b
3. P a X b f x dx
a
Example 5: Suppose that the error in the reaction temperature, in ◦C, for a controlled
laboratory experiment is a continuous random variable X having the probability
density function
x2
, 1 x 2,
f x 3
0, elsewhere
(b) Find P 0 X 1
(a) Obviously, f x 0 .
x
F x =P X x f t dt , for - x
Note: As an immediate consequence of above definition, one can write the two results
P a X b F b F a
d F x
f x , if the derivatives exists.
dx
Example 6: For the density function of Example 5, find F(x), and use it to evaluate
P 0 X 1
Solution : For 1 x 2 ,
x x
t2 t 3 x x3 1
F x f t dt 3 dt | 1
1
9 9
Therefore,
0, x 1
3
x 1
F x , -1 x 2
9
1, x 2
2 1 1
P 0 X 1 F 1 F 0
9 9 9