Top Banner
Lecture 08 Prof. Dr. M. Junaid Mughal Mathematical Statistics
32

Lecture 08 Prof. Dr. M. Junaid Mughal Mathematical Statistics.

Dec 26, 2015

Download

Documents

Candice Snow
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Lecture 08 Prof. Dr. M. Junaid Mughal Mathematical Statistics.

Lecture 08Prof. Dr. M. Junaid Mughal

Mathematical Statistics

Page 2: Lecture 08 Prof. Dr. M. Junaid Mughal Mathematical Statistics.

Last Class

• Introduction to Probability• Counting Problems• Multiplication Theorem• Permutation

Page 3: Lecture 08 Prof. Dr. M. Junaid Mughal Mathematical Statistics.

Today’s Agenda

• Review of Last Lecture• Permutation (Continued)• Combinations• Probability

Page 4: Lecture 08 Prof. Dr. M. Junaid Mughal Mathematical Statistics.

Permutation

• Definition: A permutation is an arrangement of all or part of a set of objects.

Example:• Consider the three letters a, b, and c. The

possible permutations are • {abc, acb, bac, bca, cab, cba}

• In general, n distinct objects can be arranged inn! = n(n - l)(n - 2) • • • (3)(2)(1) ways.

Page 5: Lecture 08 Prof. Dr. M. Junaid Mughal Mathematical Statistics.

Permutations

• In general, n distinct objects taken r at a time can be arranged in

n(n- l ) ( n - 2 ) - - - ( n - r + 1)ways. We represent this product by the symbol

! !

rn

nPrn

Page 6: Lecture 08 Prof. Dr. M. Junaid Mughal Mathematical Statistics.

Permutations

• So far we have considered permutations of distinct objects. That is, all the objects were completely different or distinguishable.

• If the letters b and c are both equal to x, then the 6 permutations of the letters a, b, and c become

{axx, axx, xax, xax, xxa, xxa} of which only 3 are distinct.

• Therefore, with 3 letters, 2 being the same, we have

3!/2! = 3 distinct permutations.

Page 7: Lecture 08 Prof. Dr. M. Junaid Mughal Mathematical Statistics.

Permutations

• With 4 different letters a, b, c, and d, we have 24 distinct permutations.

• If we let a = b = x and c = d = y, • we can list only the following distinct

permutations: • {xxyy, xyxy, yxxy, yyxx, xyyx, yxyx}

Thus we have 4!/(2! 2!) = 6 distinct permutations.

Page 8: Lecture 08 Prof. Dr. M. Junaid Mughal Mathematical Statistics.

Permutations

• The number of ways of partitioning a set of n objects into r cells with n1 elements in the first cell, n2 elements in the second, and so on so forth, is

nnnnn

nnnn

nnnnn

n

r

rr

321

321321

where,

!!!!

!,,,,

Page 9: Lecture 08 Prof. Dr. M. Junaid Mughal Mathematical Statistics.

Example

• In how many ways can 7 students be assigned to one triple and two double hotel rooms during a conference?

• Using the rule of last slide

Page 10: Lecture 08 Prof. Dr. M. Junaid Mughal Mathematical Statistics.

Combinations

• Suppose that you have 3 fruits, Apple (A), Banana (B) and a citrus fruit (C).

• If you have to use all the 3 fruits, how many different juices can you make?

Page 11: Lecture 08 Prof. Dr. M. Junaid Mughal Mathematical Statistics.

Combinations

• Suppose that you have 3 fruits, Apple (A), Banana (B) and a citrus fruit (C).

• If you have to use all the 3 fruits, how many different juices can you make?

• Only one!

• When you are drinking the juice would you know in which order the fruits have been put into the juicer?

• No.

Page 12: Lecture 08 Prof. Dr. M. Junaid Mughal Mathematical Statistics.

Combinations

• Thus, if we have n objects, and we would like to combine all of them, then there is only one combination that we can have.

• In combination the order does not matter.

• This is a major difference between permutation and combination.

Page 13: Lecture 08 Prof. Dr. M. Junaid Mughal Mathematical Statistics.

Combinations

• Suppose that we decide to use only two fruits out of the three (A, B, C) to prepare a juice. How many different juices can you make?

• You can use • A and B or • A and C or • B and C.

• Answer: Three

Page 14: Lecture 08 Prof. Dr. M. Junaid Mughal Mathematical Statistics.

Combination

• The number of permutations of the four letters a, b, c, and d will be 4! = 24.

• Now consider the number of permutations that are possible by taking two letters at a time from four.

• These would be • {ab, ac, ad, ba, be, bd, ca, cb, cd, da, db, dc}

Page 15: Lecture 08 Prof. Dr. M. Junaid Mughal Mathematical Statistics.

Combination

• The permutation for 4 letter taken 2 at a time are• {ab, ac, ad, ba, be, bd, ca, cb, cd, da, db, dc}

• Which can be calculated by the following

! !

rn

nPrn

Page 16: Lecture 08 Prof. Dr. M. Junaid Mughal Mathematical Statistics.

Combination

• The permutation for 4 letter taken 2 at a time are• {ab, ac, ad, ba, be, bd, ca, cb, cd, da, db, dc}

• Lets check which same alphabets are used to make groups

Page 17: Lecture 08 Prof. Dr. M. Junaid Mughal Mathematical Statistics.

Combination

• The permutation for 4 letter taken 2 at a time are• {ab, ac, ad, ba, be, bd, ca, cb, cd, da, db, dc}

• Lets check which same alphabets are used to make groups

• {ab, ac, ad, ba, be, bd, ca, eb, cd, da, db, dc}• we know that r objects can be arranged in r!

order, (2! =2), therefore we have two sets of same alphabets but different permutation

Page 18: Lecture 08 Prof. Dr. M. Junaid Mughal Mathematical Statistics.

Combination

• The permutation for 4 {a,b,c,d} letter taken 3 at a time are

Page 19: Lecture 08 Prof. Dr. M. Junaid Mughal Mathematical Statistics.

Combination

• Therefore, we divide all the possible permutations of n objects taken r at a time by r !, to get the combinations

! !

!

rnr

nCrn

Page 20: Lecture 08 Prof. Dr. M. Junaid Mughal Mathematical Statistics.

Combinations

• Definition: When we have n different objects,

and we want to have combinations

containing r objects, then we will have nCr such

combinations. (where, r is less than n).

! !

!

rnr

nCrn

Page 21: Lecture 08 Prof. Dr. M. Junaid Mughal Mathematical Statistics.

Example

• A young boy asks his mother to get five cartridges from his collection of 10 arcade and 5 sports games. How many ways are there that his mother will get 3 arcade and 2 sports games, respectively?

Page 22: Lecture 08 Prof. Dr. M. Junaid Mughal Mathematical Statistics.

Example

• In how many ways can 7 graduate students be assigned to one triple and two double hotel rooms during a conference?

• 210

Page 23: Lecture 08 Prof. Dr. M. Junaid Mughal Mathematical Statistics.

Example

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

• 50400

Page 24: Lecture 08 Prof. Dr. M. Junaid Mughal Mathematical Statistics.

Example

• 2.45 How many distinct permutations can be made from the letters of the word infinity?

Page 25: Lecture 08 Prof. Dr. M. Junaid Mughal Mathematical Statistics.

Exercise

• 2.47 A college plays 12 football games during a season. In how many ways can the team end the season with 7 wins, 3 losses, and 2 ties?

Page 26: Lecture 08 Prof. Dr. M. Junaid Mughal Mathematical Statistics.

Exercise

• 2.48 Nine people are going on a skiing trip in 3 cars that hold 2, 4, and 5 passengers, respectively. In how many ways is it possible to transport the 9 people to the ski lodge, using all cars?

Page 27: Lecture 08 Prof. Dr. M. Junaid Mughal Mathematical Statistics.

Probability

• If there are n equally likely possibilities of which one must occur and s are regarded as favorable or success, then the probability of success is given by s/n– If an event can occur in h different possible ways, all of

which are equally likely, the probability of the event is h/n: Classical Approach

– If n repetitions of an experiment, n is very large, an event is observed to occur in h of these, the probability of the event is h/n: Frequency Approach or Empirical Probability.

Page 28: Lecture 08 Prof. Dr. M. Junaid Mughal Mathematical Statistics.

Axioms of Probability

• To each event Ai, we associate a real number P(Ai). Then P is called the probability function, and P(Ai) the probability of event Ai if the following axioms are satisfied– For every event A : P(Ai) ≥ 0

– For the certain event S : P(S) = 1– For any number of mutually exclusive events A1, A2 …. An

in the class C: P(A1U A2 U…..U An) = P(A1) + P(A2) + … + P(An)

• Note: Two events A and B are mutually exclusive or disjoint if A B = Φ

Page 29: Lecture 08 Prof. Dr. M. Junaid Mughal Mathematical Statistics.

Example

• A coin is tossed twice. What is the probability that at least one head occurs?

• Sample Space

Page 30: Lecture 08 Prof. Dr. M. Junaid Mughal Mathematical Statistics.

Example

• A die is loaded in such a way that an even number is twice as likely to occur as an odd number. If E is the event that a number less than 4 occurs on a single toss of the die, find P(E).

• Sample Space

Page 31: Lecture 08 Prof. Dr. M. Junaid Mughal Mathematical Statistics.

Summary

• Introduction to Probability• Counting Rules

– Combinations

• Axioms of probability• Examples

Page 32: Lecture 08 Prof. Dr. M. Junaid Mughal Mathematical Statistics.

References

• Probability and Statistics for Engineers and Scientists by Walpole