Probability
Probability
X
Probability
Probability Theory
Introduction
The science of statistics is based upon considerations of "probability".
But what does "probability mean"? The only thing we can say for
certain is that it is a number between 0 and 1 (it is never <0 or >1.0).
What does it represent? We also know that probability refers to
uncertain events. A typical example of an event is: "it will rain
tomorrow between 3pm and 4pm". Nobody can know for
certain whether or not this will happen. Another example of an event
is: "I toss a coin in the air and it lands with heads upwards" (we will
use this event a lot!). Probability refers to uncertain events.
As you can see, this depends on the individual. This is not surprising
because, for example, in the rain example above, if you asked 100
people for their probability estimate (between 0% - it certainly will not
happen, and 100% - it certainly will happen) you will most likely get
100 different answers. Nobody can be right or wrong in this
estimate.
https://lds.maiasoft.com/must/emodule.jsp 1/12
5/15/24, 10:42 AM Probability
Probability
Events
https://lds.maiasoft.com/must/emodule.jsp 2/12
5/15/24, 10:42 AM Probability
Union/Intersection of events.
DISJOINTNESS
We use A∪B to mean A union B (all elements in either or A or
➤
B or both)
A∩B means A intersect B (all elements in both A and B)
➤
https://lds.maiasoft.com/must/emodule.jsp 3/12
5/15/24, 10:42 AM Probability
Non-disjoint events
You throw two dice.
A=event that you score 2,3,4,5 or 6
B=event that you score 3,5,7,10,12
In this case the intersection A∩B is the event that you score 3 or 5 so
that A happens AND B happens at the same time.
https://lds.maiasoft.com/must/emodule.jsp 4/12
5/15/24, 10:42 AM Probability
Example: Toss a coin. E = event you get Heads then Ec is the event
you get Tails
This is saying that if two events cannot happen together (they are
disjoint) then the probability that either A OR B occurs is the sum of the
probabilities of A and B, that is: P(A)+P(B).
Let A=[score 2]
Let B=[score 3 or 4]
BUT we can also say that EITHER E happens OR it does not happen -
there are no other possibilities.
But we know that P(Ω)=1.0 so from the addition law we have the very
important conclusion that
P(E) + P( Ec) = 1
which means that the probability that something occurs plus the
probability that it does NOT occur = 1.0
Examples
1) Assume both coins are fair that means that Prob(H) = Prob(T) =
50% THIS IS AN ASSUMPTION
2) The number of possible outcomes is 4 all of which are equally likely
according to assumption 1. The four outcomes are: {HH,HT,TH,TT}
where the order of H, T indicates face of coin 1, followed by face of
coin 2.
3) The outcomes we are interested in are {HT, TH} and there are two.
4) We deduce the probability (meaning our sensible, logical
assessment based on our assumptions) is 2/4 or 1/2 = 0.5 or 50%.
Random Variables
https://lds.maiasoft.com/must/emodule.jsp 8/12
5/15/24, 10:42 AM Probability
Suppose that A and B are events which are not disjoint. This means
that A∩B ≠ φ i.e. A∩B is not empty - in other words there are
outcomes which are in both A and B. What can we say about A∪B?
Because the events A and (B\A) are disjoint (by definition - because
anything in B\A cannot be in A) we know that:
P(A∪B)=P(A)+P(B\A)
That is just from the addition law. So to finish we need to work out
what is P(B\A). But from the diagram we can see that the event
B=(A∩B) ∪ P(B\A)
Because events (A∩B) and (B-A) are disjoint (remember B-A contains
nothing in A)
https://lds.maiasoft.com/must/emodule.jsp 9/12
5/15/24, 10:42 AM Probability
P(B\A) = P(B)-P(A∩B)
P(A∪B)=P(A)+P(B)-P(A∩B)
You need to remember this!
Summary so far
➤ Probability is a number between 0 and 1 representing a
person's degree of belief that an event will or will not occur
➤ 0=impossibility; 1=certainty
➤ Probabilities are assigned to events (things which happen)
➤ If A and B are events then A∪B means EITHER A OR B
occurs, or both occur
➤ A∩B means both A AND B occur together
➤ A and B are disjoint if A∩B = ∅ the empty event which means
A and B cannot occur together
➤ If A and B are disjoint events then P(A∪B)=P(A)+P(B) this is
the addition law - it is an axiom of probability
➤ If A and B are NOT disjoint then P(A or B)=P(A)+P(B)-P(A and
B)
➤ The universal set Ω is the set of all possible outcomes and
P(Ω)=1
MULTIPLICATION LAW
➤ It is not necessarily true that P(A∩B)=P(A)P(B)
➤ For us, we will always assume it IS true
https://lds.maiasoft.com/must/emodule.jsp 10/12
5/15/24, 10:42 AM Probability
Example: what is the probability that you throw a dice twice and it
comes up 6 first time and 5 the second time? Ans = Prob(6) x Prob(5)
= ⅙ x ⅙ = 1/36
Example:
The universal set is the set of all possible values from 2 dice.
Each dice can take 6 values, and for each value of dice 1 dice 2 can
take 6 values
The question is this: out of the 36 possibilities how many of them have
a total of 4?
Or equivalently, how can you get 4 if you throw a red dice and a green
dice?
Answer: if we write the red dice value first followed by the green dice
value (eg if red=3 and green=4 we write 3:4) then the only way we can
get 4 as the sum of the two dice is from: 1:3, 2:2, 3:1 in other words
there are three possibilities for our event out of a total of 36 so we
would say the probability of getting 4 is 3/36 = 1/12 = about 8.33%
https://lds.maiasoft.com/must/emodule.jsp 11/12
5/15/24, 10:42 AM Probability
X
Self-test questions
__________________________________
(c) Maiasoft Educational Software 2017-2024
https://lds.maiasoft.com/must/emodule.jsp 12/12