Week Probability and Statistics
Week Probability and Statistics
Statistics
Assist. Prof. Dr. Faiz Muhaffel
Department of Metallurgical and Materials Engineering
2023-2024 Fall Semester
Room number A-321
[email protected]
Probability - "The logic of uncertainty"
It deals with uncertain events. For example, when a die is thrown, it is certain that the die will fall to
the ground, but it is not certain which face will land on top.
Fractional
Percentage
Decimal number
Theoretical probability: A type of probability in which the
probability of an event occurring is calculated theoretically,
without observation.
To be valid, all sample points must have an equal probability of occurring.
13
P(A) = = 0.25 = 25%
52
Example:
A bag contains 12 colored balls, 5 red, 4 white and 3 black. What is the probability
of not choosing a red ball?
5
If the probability of drawing red from the bag is , the probability of not drawing
12
5 7
red is 1 − = .
12 12
Example:
From a deck of playing cards, a card is drawn continuously without replacing it
until the Ace of Spades is found. What is the probability of finding the ace of spades
between the 20th and 30th card?
11
P(A) =
52
Union and Intersection of Sets
A and B are two events defined in the same sample space S;
• The combination of events A and B is denoted as AUB. The outcomes of an AUB
event arise from either A or B or both.
• The intersection of events A and B is denoted as A∩B. The outcomes of event A∩B
arise from both event A and event B.
Example:
A single card is drawn from a deck of playing cards. Let event A denote the drawing of
sevens and event B the drawing of diamonds. Find A∩B and AUB.
Example:
Let A be a set of (x,y) satisfying the inequality x2+y2 < 1. What is the relation that
shows the complement of event A?
GRAPHICAL REPRESENTATION OF EVENTS:
It is difficult to understand the relationships between more than two events
using only the definitions of union, intersection and complement. A graphical
representation that facilitates the understanding of complex phenomena is
called a Venn diagram.
event A
complement of event A
Example:
When there are events A and B defined in the same sample space, there are two
situations that are often desired to be known:
a) The case of being exactly in one of the two
b) Being in one of the two at most
a) Let event E denote the state of being of either event A or B (but not both).
b) Event F is the occurrence of at most one of two events.
Permutation (Hierarchy)
People have been interested in questions related to finding the number of times
objects can be arranged in different orders. For example, how many different
ways can 12 people sit in a row, how many different ways can 8 people line up in
front of a movie box office.
From this diagram, it can be seen that the books labeled A, B, C can be arranged in six
different orders.
The 2nd way is based on filling in the boxes. The first eye can be filled with one
of the books A, B and C, i.e. in 3 different ways.
For each book that can be placed in the first compartment, the second
compartment can be filled with one or the other of the two remaining books.
Example: How many different three-digit numbers can be written with the
digits 1, 2, 3, 4, 5 without repeating any digit?
The total number of three-digit numbers that can be formed according to the
principle of multiplication:
(1, 2, 3, 4, 5) 5 4 3 60
ADDITION PRINCIPLE Consider two operations, the first of which can be done in
n1 different ways and the second in n2 different ways. If only one of the two
operations can be done, then one or the other of these operations can be done in
(n1 + n2) ways. The principle of addition can be generalized to situations
involving a finite number of operations.
Example:
The options a student will use to get to the University for morning classes: 3
different shuttle buses, two different friends' cars, his/her father's car or a
neighbor's car. How many different ways can this student reach the University
that morning?
3+2+2=7
n FACTORIAL (n!)
n! = 1.2......n = n(n-1)......2.1
0! = 1 and 1! = 1.
Example:
In how many different orders can 7 people line up in front of a toll booth?
7 P7 = = 7.6 .....1 = 5040 number of different orders that 7 people lined up
Theorem: If k (k ≤ n) of n different objects (objects can be used only once in the
ordering) are sorted, the number of different orders obtained is
Example:
How many different two-letter words can be made from the letters of the word
ORHAN?
So far we have analyzed the number of patterns of different objects. If some
of the objects are the same, then we will need to perform different operations to
find the number of patterns.
Theorem: Let there be n=(n1+ ...+nk) objects, n1 of one kind, n2 of a second kind,
...,nk of the kth kind:
Example:
How many different words can we get if we use the letters of the word
İSTATİSTİK in every order?
There are 5 different letters (i, s, t, a, k) in the word İSTATİSTİK. n1=3 (number of
i's), n2=2 (number of s's), n3=3 (number of t's), n4=1 (number of a's) and n5=1
(number of k's).
CIRCULAR ORDER: If we arrange n different objects around a circle, the number
of different orders to be obtained is (n-1)!
Example:
How many different arrangements can 7 people sit around a round
table?
(7-1)! =6! = 720
Combination
A combination is an unordered selection from a group of objects. While in
permutation the order is important, in combination the order is not important,
but the choice is. Therefore, the number of permutations is not equal to the
number of combinations.
35