Docsity

Probability for starters, Slides of Probability and Statistics

Partial preview of the text

Download Probability for starters and more Slides Probability and Statistics in PDF only on Docsity!

Introduction to Probability

Dr. Ulviya Abdulkarimova

French-AZerbaijani University (UFAZ)

Sample space

Let us first consider the following example :

Example If one red and one white die are rolled at the same time the outcome will be the collection of ordered pairs

We call this collection of all possible outcomes a sample space denote by S.

Outcome – the result of a single trial of a probability experiment.

Let E represent a collection of elements of S. Any collection of outcomes contained in the sample space S is called an event.

If as a result of an experiment, the outcome is in E , we say event E has occurred.

Events

Definition Intersection of two events - Intersection of two events A and B, denoted by A ∩ B is the event containing all the elements that are common to both A and B. Union of two events - Union of two events A or B, denoted by A ∪ B is the event containing all the elements that are common to A or B or both. Complementary events - Complement of an event E is the set of outcomes in the sample space that are not included in the outcomes of event E. The complement of event E is denoted by E c^ or E ′^ or E. Note : The outcomes of an event and the outcomes of the complement make up the entire sample space. P(E ) + P(E ′) = 1 Mutually exclusive events - Two events are mutually exclusive (disjoint) if they cannot occur at the same time. ie. A ∩ B = ∅

Venn diagram

Venn diagram is a visual way of representing events and probabilities.

A 4 B is the symmetric difference of set A with respect to set B which is the set of elements which are in either of the sets A and B, but not in their intersection.

Counting Rules

Ordering n different objects can be done in n! ways since there are n ways of selecting the first object, n − 1 ways to choose the second object and so on until you have 1 way of selecting the last object.

Example The letters of the word count can be arranged in 5! ways

Multiplication Rule If k independent operations can be performed in n 1 , n 2 , ..., nk ways, respectively, then the k operations can be performed in n 1 × n 2 × ... × nk ways.

Example Flipping a coin three times. There are two possibilities : Head or Tail. Since the flips are independent of each other, in total, we have 2 × 2 × 2 = 8 possible outcomes.

Counting Rules

Permutations with Similar Elements The number of distinct permutations of n elements taken n at a time, with n 1 elements of one kind, n 2 elements of another kind, and so on, such that n = n 1 + n 2 +... + nk is n! n 1 !n 2 !...nk!

Example How many different letter arrangements can be made from the letters of the word STATISTICS?

Permutations and Combinations

Definition Any ordered sequence of k objects taken from a set of n distinct objects is called a permutation of size k of the objects. The number of permutations of size k that can be constructed from the n objects is denoted by (^) nPk.

Given a set of n distinct objects, any unordered subset of size k of the objects is called a combination, denoted by (^) nCk = n^ kP!k.

Permutations and Combinations

Number of possible ways of selecting k objects from a set of n distinct elements :

Without Replacement With Replacement Ordered (^) nPk = Pkn = (^) (n−n!k)! nk Unordered

(n k

= (^) nCk = C (^) nk = (^) k!(nn−!k)! -

Example

  1. In how many ways can Ann, Barry, Chris, and Dan form a committee consisting of two persons? i.e. unordered without replacement.
  2. In how many possible ways can we choose 2 different balls out of 4, given white, red, blue and pink balls, ordered and without replacement.

Probability Theory

Properties For any event E , P(E ) ≥ 0 P(S) = 1, where S is the sample space If {E 1 , E 2 , ..., En} are mutually exclusive, then P(E 1 ∪ E 2 ∪ ... ∪ En) = P(E 1 ) + P(E 2 ) + ... + P(En) If {E 1 , E 2 , ...} is an infinite collection of mutually exclusive events, then P(E 1 ∪ E 2 ∪ ...) = P(E 1 ) + P(E 2 ) + ... = Σ∞ n= 1 P(En)

Probability Theory

Proposition For each event E , P(E ) = 1 − P(E ′) The probability of the null set is zero, that is, P(∅) = 0 If E 1 and E 2 are mutually exclusive events, then P(E 1 ∩ E 2 ) = 0. If E 1 and E 2 are events such that E 1 ⊂ E 2 then P(E 1 ) ≤ P(E 2 ) For each event E , 0 ≤ P(E ) ≤ 1 If E 1 and E 2 are events in S, then P(E 1 ∪ E 2 ) = P(E 1 ) + P(E 2 ) − P(E 1 ∩ E 2 ) If E 1 , E 2 and E 3 are events in S, then P(E 1 ∪ E 2 ∪ E 3 ) = P(E 1 ) + P(E 2 ) + P(E 3 ) − P(E 1 ∩ E 2 ) − P(E 1 ∩ E 3 ) −P(E 2 ∩ E 3 ) + P(E 1 ∩ E 2 ∩ E 3 )

Conditional Probability

Often we want to calculate probability of an event given that another event has already occurred.

Definition Let A and B be two events of S with P(B) > 0. Then, the conditional probability is defined by P(A|B) = P( PA(∩BB)) and is read as probability of "A given B"

Moreover, we have P(A|B) ≥ 0 P(A 1 ∪ A 2 ∪ ...|B) = P(A 1 |B) + P(A 2 |B) + ..., provided that A 1 , A 2 , ... are mutually disjoint sets P(A|A) = 1 From the definition of the conditional probability, we get P(A ∩ B) = P(B)P(A|B) which is also known as multiplication rule for probabilities. It can also be written as P(A ∩ B) = P(A)P(B|A)

Conditional Probability

Example The distribution of employed/unemployed amongst men and women in a small town is given.

Employed Unemployed Total Man (^460 40 ) Woman (^140 260 ) Total (^600 300 )

Find the probability P(man|unemployed) and P(man|employed).

Independent events

Definition Sometimes, the occurence of event B does not change the probability of event A. ie. P(A|B) = P(A) In this case, we say the events A and B are independent. In other words, two events A and B are independent if and only if P(A ∩ B) = P(A)P(B)

Example An oil exploration company currently has two active projects, one in Asia and the other in Europe. Let A be the event that the Asian project is successful and B be the event that the European project is successful. Suppose that A and B are independent events with P(A) = 0 .4 and P(B) = 0 .7.

a. If the Asian project is not successful, what is the probability that the European project is also not successful? Explain your reasoning.

b. What is the probability that at least one of the two projects will be successful?

Law of Total Probabilities

If B 1 and B 2 are events then P(B 1 ) = P(B 1 ∩ B 2 ) + P(B 1 ∩ B′ 2 )

Consider k mutually exclusive and exhaustive (at least one of the events must occur) events B 1 , B 2 , ..., Bk such that P(Bi ) > 0 for i = 1 , ..., k.

Suppose that these events form a partition of S. In other words, B 1 ∪ B 2 ∪ ... ∪ Bk = S Let A be another event. Then, A occurs with one and only one of the events.

A = A ∩ (B 1 ∪ B 2 ∪ ... ∪ Bk ) = (A ∩ B 1 ) ∪ (A ∩ B 2 ) ∪ ... ∪ (A ∩ Bk )

Then P(A) = P(A ∩ B 1 ) + P(A ∩ B 2 ) + ... + P(A ∩ Bk )

Using the multiplication rule for probabilities, we get P(A) = P(B 1 )P(A|B 1 ) + P(B 2 )P(A|B 2 ) + ... + P(Bk )P(A|Bk ) = Σki= 1 P(Bi )P(A|Bi )

This result is called the law of total probabilities