Basic Statistics-Week 8
Basic Statistics-Week 8
Basic Statistics-Week 8
WEEK-8
PROBABILITY
The term ‘probability’ is an estimate of the proportion of one or more
uncertain experimental outcomes when the experiment is performed at
random. Here are some examples that involve uncertainty:
• What is the chance that the country will experience severe flood this
year if dredging of the major rivers is not undertaken?
• What is the likelihood that the new vaccine will be more effective than
the old one in controlling tuberculosis?
• How likely is that the proposed Padma Bridge will be completed by the
end of the year 2020?
• What is the probability that the stock market will show an abrupt rise
soon after the forthcoming budget announcement?
RANDOM EXPERIMENT
Definition: A random experiment is an experiment in which
(b) Any performance of the experiment results in an outcome that is not exactly known
in advance;
Example: A fair die with six faces marked 1, 2, …,6 is tossed once. This is an
experiment with six possible outcomes {1, 2, …,6}. But we are uncertain about whether
a 2 or a 6 will land when tossed. This makes the experiment a random experiment.
Example: We record the time in hours that an electric bulb takes before it burns out.
Any non- negative number is a conceivable outcome of this experiment. Since the
exact hours that the bulb will take to burn out is unknown, the experiment is a random
experiment.
SAMPLE SPACE
Definition: A sample space of an experiment is a set or collection of all possible
outcomes of the same experiment such that any outcome of the experiment corresponds
to exactly one element in the set. A sample space is usually denoted by the symbol S.
Two or more vents are said to be equally likely if they have the same
chance of occurrence. Examples of equally likely events will be evident
once we define probability of an event.
EVENT
Mutually Exclusive Events
Exhaustive Events
On the other hand, if the union of A and B form the sample space i.e.
AB=S, we say that the events are exhaustive. If both AB = and
AB =S are true, we say that S is partitioned into the events A and B.
CONDITIONAL PROBABILITY
The probability of an event A when it is known that some other event B
has occurred is called a conditional probability and is denoted by P(A|
B). The symbol P(A|B) is usually read as ‘the probability that A occurs
given that B occurs or simply probability of A given B, where the slash
‘|’ stands for ‘given that’.
With two events A and B, the most fundamental formula to compute
conditional probability for A given B is
P( A B) , P(B) 0
P( A | B)
P( B)
P ( A B ) , P(A)0
P ( B | A)
P ( A)
CONDITIONAL PROBABILITY
It thus follows from the above equations that for two dependent events A and B,
PA B PA P B A
PB P A B
since A B B A
This rule is frequently referred to as the multiplication law, multiplication theorem or law of
compound probability. The law may be stated more precisely as follows:
Definition: For two events A and B, the probability of their simultaneous occurrence is
equal to the product of the unconditional probability of A and the conditional probability of
B, given that A has actually occurred. Symbolically
P(AB)=P(A) P(B|A)
CONDITIONAL PROBABILITY
Example: A pair of dice is thrown. Find the probability that sum of the
points on the two dice is 10 or greater if a 5 appears on the first die.
Solution: Let A be the event that sum of the points on the two dice is
10 or greater and B be the event that a 5 appears on the first toss.
Symbolically, we want to evaluate the conditional probability P(A|B).
Now
A = {(4, 6) (5, 5), {5, 6), (6, 4) (6, 5), (6, 6)},
B = {(5, 1), (5, 2), (5, 3), (5, 4), (5, 5) (5, 6)}
P ( A B ) 2 / 36 1
PA | B = =
P( B) 6 / 36 3
CONDITIONAL PROBABILITY
Example: The probability that a married man watches a certain TV show is 0.4 and that
his wife watches the show is 0.5. The probability that a man watches the show, given that
his wife does, is 0.7. Find
(b) The probability that a wife watches the show given that her husband does.
(c) The probability that at least one of the partners will watch the show.
The conditional probability that a wife watches the show given that her
husband also watches
PW H 0.35
PW | H 0.875
PH 0.40
P W H P W pH P W H
Example: In a community, 36% of the families own a dog and 22% of the families own
both a dog and a cat. If a randomly selected family owns a dog, what is the probability
that it owns a cat too?
Solution: Let us define the events of interest as follows:
D: Family owns a dog
C: Family owns a cat
Then
P(D) = 0.36 and P(D∩C) =0.22
Since being owner of a dog and owner of cat are independent,
P D C .P D PC 0.22
Hence
.22 .22
PC 0.61
PD .36
RANDOM VARIABLE
Definition: A variable, whose values are any definite numbers or quantities that arise as
a result of chance factors such that they cannot exactly be predicted in advance, is called
a random variable.
Example: A school consists of 7 teachers of whom 4 are males and 3 are females. A
committee of 2 teachers is to be formed. If Y stands for the number of male teachers
selected, then Y is a random variable assuming the values 0, 1 and 2. The possible
outcomes and the values of the random variable Y are:
e1 Male, male 2
e2 Male, female 1
e3 Female, female 0
TYPES OF RANDOM VARIABLE
A random variable may be classified as either discrete or continuous depending upon the
specific numerical values it can take on.
Definition: A random variable defined over a discrete sample space (i.e. that may only
take on a finite or countable number of different isolated values) is referred to as a
discrete random variable.
The function f(x) defined above must satisfy the following conditions in order to be a
probability mass function:
1. f ( x) 0
2. f ( x) 1
x
3. P( X x) f ( x)
PROBABILITY DISTRIBUTION
Example: A bag contains 10 balls of which 4 are black. If 3 balls are drawn at random
without replacement, obtain the probability distribution for the number of black balls
drawn.
Solution: If X denotes the number of black balls drawn, then clearly X can assume
values 0, 1, 2 and 3. To obtain the probability distribution of X, we need to compute the
probabilities associated with 0, 1 2 and 3. Since 3 balls are to be chosen, the number of
ways in which this choice can be made is 10C3.
Thus
4
C0 6 C3 20
f (0) P ( X 0) 10
C3 120
4 6
C1 C 2 60
f (1) P ( X 1) 10
C3 120
4
C 2 6 C1 36
f (2) P ( X 2) 10
C3 120
4 6
C3 C0 4
f (3) P ( X 3) 10
C3 120
The above definition leads to conclude that a pdf is one that possesses the following
properties:
1. f ( x) 0
2. f ( x)dx 1
b
3. P (a X b) f ( x)dx
a
f x kx , 0<x<4
= 0, elsewhere
(i) Determine k for which f(x) is a density function.
(ii) Find P(1< X <2) and P(X>2).
CONTINUOUS PROBABILITY DISTRIBUTION
Solution: (i) For f(x) to be a density function, we must have f(x)dx 1
Thus
4 4
x2
k xdx =1 or k 1 so that 8k 1 ,
0
2
0
from which
1
k .
8
The complete density function is thus
x
f x , 0 x4
8
0, elsewhere
(ii) Again
2 2
1 x2 3
P (1 X 2)
8
xdx
16
1
16
1
and
4 4
1 x2 3
P( X 2)
8
xdx
2
16
2
4
2 2
x 31 x4
N.B.: Rule:
2 2
2 x dx 2 x dx 2
3 3
2 1
2 2 4 21 16 2 7
1 1
3 11 4 1 4 2
CONTINUOUS PROBABILITY DISTRIBUTION
Example 8.16: A continuous random variable X has the following density function:
2
f ( x) (1 x) , 2 x5
27
0, elsewhere
a) Verify that it satisfies the condition
f ( x)dx 1 , (b) Find P(X<4) and (c) Find P(3<X<4)
E ( X ) x f ( x)
x
Solution: By definition
μ E( X ) xf ( x) (3)(. 1) (2) (.3) (0) (.15)
(1) (. 4) (2) (. 05) 0.4
2
V X E X 2
X f ( x)
x 3
2
Solution: By definition
1 1 1
2 1
xf ( x) 2 x(1 x)dx 2 xdx 2 x dx 1
2
E( X )
0 0 0
3 3
1 1 1 1
1
E ( X ) x f ( x)dx 2 x (1 x)dx 2 x dx 2 x 3 dx
2 2 2 2
.
0 0 0 0
6
Hence the variance of X is
2
1 1 1
E ( X ) E ( X )
2
x
2 2
.
6 3 18
THANK YOU