Professional Documents
Culture Documents
LU1 - Introduction To Probability Theory
LU1 - Introduction To Probability Theory
Theory
◼ History
◼ Counting formulas
◼ Probability definitions
LU1: Introduction to Probability Theory
◼ Topics
▪ History
▪ Counting formulas
❑ Permutations
❑ Combinations
▪ Probability definitions
❑ Basic concepts
❑ Laplace’s theory
❑ Frequentist theory
❑ Subjective theory
▪ Lightner, J. (1991). A Brief Look at the History of Probability and Statistics. The
Mathematics Teacher, 84(8), 623-630. (requires VPN connection)
In the frivolous court of the kings of France, an experienced and inveterate player
– the knight of Méré – having found certain apparent contradictions between the
assessment of probabilities of gain in a certain game and his extensive experience,
proposed this problem to Pascal (1623-1662), among other questions about
games.
One of them was immediately resolved by Pascal; others were resolved by Fermat
(1601-1665) due to his correspondence with the latter.
In the 17th century there is still to be cited the remarkable work of Huyghens
(1629-1695) who introduced the notion of mean value or mathematical
expectation, and the masterful treatise of Jacob Bernoulli (1654-1705) who still
influences probabilistic thinking today.
Then comes de Moivre (1667-1754) proposing a first version of the Central Limit
Theorem, to which Gauss (1777-1855) and, fundamentally, Laplace (1749-1827)
would then give a more general form.
Since the end of the 19th century, Galton (1822-1911), K. Pearson (1857-1936) and
Student (1876-1937) (pseudonym of W. S. Gosset) begin the broad formulation of
statistics and its applications.
◼ Example
▪ A bit is equal to 0 or 1; a byte is a sequence of 8
bits. Sequence with
repetition
▪ How many different codes can be represented
by a byte?
Number of ordered
sequences of 8
elements, where
1st position 2nd position … 8th position
each element can
2 x 2 x … x 2 = 28
take 2 possible
values
◼ Example
▪ How many codes with 4 digits can you choose for
the ATM card if none of the digits can be
Sequence without
repeated?
repetition
1st digit 2nd digit 3rd digit 4th digit Number of ordered
10! sequences of 4
10 x 9 x 8 x 7 =
10 − 4 ! elements, where
the 10 possible
elements can not
✓ The order of the digits is important! be repeated
✓ Without repetition our choices get reduced each
time
❑ In partial permutations, we can not re-use the same element within the
sequence
◼ Permutations of n
▪ Case of a sequence without repetition when n = r
▪ There are 𝑛! ordered sequences without repetition
◼ Example
▪ To access a particular computer, it is necessary to enter a password
consisting of 10 different digits
▪ The number of passwords you can choose is equal to 10!
◼ Example
• To access a particular computer, it is necessary to enter a password
consisting of 15 digits. How many passwords can be formed in order to
select:
• 2 times the digit 0
◼ Combinations
▪ A combination is a selection of items from a collection, such that the
order of selection does NOT matter (unlike permutations)
◼ Example
▪ A restaurant needs to hire 2 cooks and 3 waiters from 14 candidates,
of which 4 are cooks and 10 are waiters. In how many different ways
can we do it?
▪ The order does not matter (choosing Mary and John is equal to
choosing John and Mary) → problem of Combinations
Choose 2 Choose 3
among the 4 among the 10
cooks waiters
◼ Basic concepts
▪ Random experiment
❑ In the context of this Learning Unit, it is said that an experiment is
random if:
1. We know all its possible results.
2. Each time it is carried out, it is not known in advance which of
the possible results will happen.
3. Can be repeated under similar conditions.
◼ Basic concepts
▪ Elementary outcome (or elementary result)
❑ An elementary outcome of a random experiment is a result that
cannot be subdivided into any other.
▪ Event
❑ In the context of this Learning Unit, an event is a set of one or more
elementary outcomes from a random experience.
◼ Basic concepts
▪ Sample space
❑ In the context of this Learning Unit, a Ω sample space is the set of
all elementary outcomes of a random experience.
◼ Example 1
▪ Consider a random experience that consists of flipping a coin and
observing which of the faces comes out: H=“Head" or T=“Tail".
Source: https://justflipacoin.com/
◼ Example 2
▪ Consider a random experience that consists of rolling a dice.
Source: https://www.netclipart.com
◼ Example 3
▪ Consider a random experience that consists of rolling 2 dices.
▪ Let B be the event “the sum of the outcomes of the two dices is equal
to 6”. How should we represent this event?
✓ B = {(1,5), (2,4), (3,3), (4,2), (5,1)}
Source: https://www.netclipart.com
#𝐴 𝑛
𝑃 𝐴 = =
#Ω 𝑁
◼ Example 2 (continued)
▪ Consider a random experience that consists of rolling a dice. Let A be
the event “the outcome is an even face”. What is the probability of the
event A?
◼ Example 3 (continued)
▪ Consider a random experience that consists of rolling 2 dices. Let B be
the event “the sum of the outcomes of the two dices is equal to 6”.
What is the probability of the event B?
◼ Example 4
▪ John Kerrich, along with internee Eric Christensen, tossed a coin 10 000 times
and observed the occurrence of “heads“ while interned in Denmark during
World War II.
▪ By recording the number of heads obtained as the trials continued, Kerrich was
able to demonstrate that the proportion of heads obtained asymptotically
approached the theoretical value of 0.5 (see the results in the LU1_Examples Excel file).
❑ The probability of “heads“ is equal to 0.5
◼ Example 5
▪ When you toss a coin, there are only two possible outcomes, heads or tails. On
any one toss, you will observe one outcome or another—heads or tails. Over a
large number of tosses, though, the percentage of heads and tails will come to
approximate the true probability of each outcome.
▪ In this applet, you can set the true probability of heads for your virtual coin,
and then toss it any number of times.
❑ Notice how the proportion of tosses that produce heads can be quite
variable at first but will eventually settle down to the true probability.
“Statistical Applets”, Probability, book companion site of Moore, D., Notz, W. &
Ana Cristina Costa 32
Fligner, M. (2015) The Basic Practice of Statistics. (accessed February 2021)
Probability definitions
◼ Example 6
▪ In the academic year 2002/2003, students of the Degree in Information
Management were asked to roll 2 dices at least 50 times and record the "sum
of the dots".
◼ Subjective theory
▪ The probability of an event is the degree of belief a person attaches to
that event, based on his/her available information, in a scale from 0 to
1 (or 0% to 100%).
❑ This reasoning holds only under the assumption of rationality, which
assumes that people act coherently.
◼ Example 7
▪ In an interview, an economist said that he considered the
"Improvement" of the economic situation as likely as its "Stagnation".
However, he viewed “Improvement” as twice as likely as the
“Breakdown” of economic activity.
❑ Sample space: