IT College Introduction to Computer Statistical Packages Lecture 9 Eng. Heba Hamad 2010.

Slides:



Advertisements
Similar presentations
Counting Principles Probability.
Advertisements

Probabilities Through Simulations
Counting Principles The Fundamental Counting Principle: If one event can occur m ways and another can occur n ways, then the number of ways the events.
Section 3-6 Counting. FUNDAMENTAL COUNTING RULE For a sequence of two events in which the first event can occur m ways and the second event can occur.
Section 4-6 Counting.
How many possible outcomes can you make with the accessories?
Slide Slide 1 Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley. Created by Tom Wegleitner, Centreville, Virginia Section 4-7.
Counting Techniques The Fundamental Rule of Counting (the mn Rule); Permutations; and Combinations.
Section 4-7 Counting.
Permutations and Combinations AII Objectives:  apply fundamental counting principle  compute permutations  compute combinations  distinguish.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Section 4-2 Basic Concepts of Probability.
Expected value a weighted average of all possible values where the weights are the probabilities of each outcome :
3.4 Counting Principles Statistics Mrs. Spitz Fall 2008.
Slide Slide 1 Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley. Lecture Slides Elementary Statistics Tenth Edition and the.
Chapter 4 Probability 4-1 Overview 4-2 Fundamentals 4-3 Addition Rule
9.6 Counting Principles Permutations Combinations.
Copyright © 1998, Triola, Elementary Statistics Addison Wesley Longman 1 Counting Section 3-7 M A R I O F. T R I O L A Copyright © 1998, Triola, Elementary.
Chapter 5 Possibilities and Probability Counting Permutations Combinations Probability.
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. Lecture Slides Elementary Statistics Eleventh Edition and the Triola.
Chapter 4 Lecture 4 Section: 4.7. Counting Fundamental Rule of Counting: If an event occurs m ways and if a different event occurs n ways, then the events.
The Fundamental Counting Principle and Permutations
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. Chapter 4 Probability 4-1 Review and Preview 4-2 Basic Concepts of Probability.
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
Permutations and Combinations. Objectives:  apply fundamental counting principle  compute permutations  compute combinations  distinguish permutations.
Methods of Counting Outcomes BUSA 2100, Section 4.1.
Section 2.6: Probability and Expectation Practice HW (not to hand in) From Barr Text p. 130 # 1, 2, 4-12.
Slide Slide 1 Created by Tom Wegleitner, Centreville, Virginia Edited by Olga Pilipets, San Diego, California Counting.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Preview Rare Event Rule for Inferential Statistics: If, under a given assumption, the probability.
© The McGraw-Hill Companies, Inc., Chapter 4 Counting Techniques.
Statistics 1: Elementary Statistics Section 4-7. Probability Chapter 3 –Section 2: Fundamentals –Section 3: Addition Rule –Section 4: Multiplication Rule.
Counting – Day 1 Section 4.7. Why Do We Need Counting Methods? When finding a basic probability, what are the two things we need to know? Number of different.
Copyright © 1998, Triola, Elementary Statistics Addison Wesley Longman 1 M ARIO F. T RIOLA E IGHTH E DITION E LEMENTARY S TATISTICS Section 3-6 Counting.
IT College Introduction to Computer Statistical Packages Lecture 8 Eng. Heba Hamad.
Copyright 2013, 2010, 2007, Pearson, Education, Inc. Section 12.8 The Counting Principle and Permutations.
Probability. Basic Concepts of Probability What you should learn: How to identify the sample space of a probability experiment and to identify simple.
Slide Slide 1 Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley. Lecture Slides Elementary Statistics Tenth Edition and the.
Chapter 4 Lecture 4 Section: 4.7. Counting Fundamental Rule of Counting: If an event occurs m ways and if a different event occurs n ways, then the events.
Section 4.5-Counting Rules
Section 4.3 Trees and Counting Techniques Organize outcomes in a sample space using tree diagrams. Define and use factorials. Explain how counting techniques.
Lesson 0.4 (Counting Techniques)
Copyright (C) 2002 Houghton Mifflin Company. All rights reserved. 1 Understandable Statistics Seventh Edition By Brase and Brase Prepared by: Lynn Smith.
Counting Techniques Tree Diagram Multiplication Rule Permutations Combinations.
Permutations and Combinations
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Lecture Slides Elementary Statistics Eleventh Edition and the Triola Statistics Series by.
Chapter 3 Probability Initial Objective: Develop procedures to determine the # of elements in a set without resorting to listing them first. 3-6 Counting.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 4-1 CHAPTER 4 Counting Techniques.
1 2.3 Counting Sample Points (6)(6)(6)= 216 Example: How many outcome sequences are possible when a die is rolled three times?
Algebra. Factorials are noted by the expression n! and reads “n factorial”
Section 4-7 Counting.
Permutations and Combinations
Elementary Counting Techniques & Combinatorics
Section 4.7 Counting – Day 1.
Elementary Statistics
Section 12.8 The Counting Principle and Permutations
Lesson 11-1 Permutations and Combinations
Permutations and Combinations
Permutations and Combinations
Permutations and Combinations
First lecture fsalamri Faten alamri.
Bellwork Practice Packet 10.3 B side #3.
Created by Tom Wegleitner, Centreville, Virginia
Permutations and Combinations
Lecture Slides Essentials of Statistics 5th Edition
Standard DA-5.2 Objective: Apply permutations and combinations to find the number of possibilities of an outcome.
Exercise How many different lunches can be made by choosing one of four sandwiches, one of three fruits, and one of two desserts? 24.
Permutations and Combinations
Lecture 7: Permutations and Combinations
Permutations and Combinations
Presentation transcript:

IT College Introduction to Computer Statistical Packages Lecture 9 Eng. Heba Hamad 2010

Chapter 4 (part 3) Probability

Counting

Key Concept In many probability problems, the big obstacle is finding the total number of outcomes, and this section presents several methods for finding such numbers without directly listing and counting the possibilities.

Content In this section we will discuss the counting rule:  The fundamental counting rule.  The permutations rule (when items are all different).  The permutations rule (when some items are identical to others).  The combinations rule.  The factorial rule.

Fundamental Counting Rule For a sequence of two events in which the first event can occur m ways and the second event can occur n ways, the events together can occur a total of m n ways.

abcdeabcdeabcdeabcde TFTF Tree Diagram of the events T & a T & b T & c T & d T & e F & a F & b F & c F & d F & e m = 2 n = 5 m*n = 10

Examples Breaking Code …( two-character code consisting of a letter followed by a digit) Computer Design …(byte is defined to be 8 bits) Safety in Numbers …(Electronic Key) Chances and Skills …(someone claims that he has ability to roll a die in such a way that 6 will almost always occur, how many outcomes are possible with five rolls of a die)

Factorial Rule

Examples Survey Questions …(5 questions) Air Routes …(How many routes are possible?) Routes to All 50 Capitals …(How many different routes are possible?...if you want to calculate the shortest possible route)

A collection of n different items can be arranged in order n! different ways. (This factorial rule reflects the fact that the first item may be selected in n different ways, the second item may be selected in n – 1 ways, and so on.) Factorial Rule

Notation The factorial symbol ! denotes the product of decreasing positive whole numbers. For example, By special definition, 0! = 1

Permutations Rule (when items are all different)

Examples Routes to 4 Capitals of the 50 …(you do not have time to travel to 50 capitals, How many different routes are possible) Novels of a n author …(you have to chose the best three novels of ten novels for prizes, How many different outcomes are possible)

Permutations Rule (when items are all different) (n - r)! n r P = n! Then number of permutations (or sequences) of r items selected from n available items (without replacement) is Requirements: 1.There are n different items available. (This rule does not apply if some of the items are identical to others.) 2.We select r of the n items (without replacement). 3.We consider rearrangements of the same items to be different sequences. (The permutation of ABC is different from CBA and is counted separately.)

Example A horse race has 14 horses, how many different possible ways can the top 3 horses finish? There are 14 possibilities for which horse finishes first, 13 for second, and 12 for third, so by the Fundamental Counting Principle, there are: In the horse race example above we would write : (14 - 3)! 14 3 P = 14!

Permutations Rule (when some items are identical to others)

Examples Letters Arrangements …(How many different ways, you can arrange the letters of the word Statistics) Diet and Regular Colas …(you have 4 diet and 5 regular colas, How many ways can we arrange the letters DDDDRRRRR?)

Permutations Rule (when some items are identical to others) n 1 !. n 2 ! n k ! n!n! If the preceding requirements are satisfied, and if there are n 1 alike, n 2 alike,... n k alike, the number of permutations (or sequences) of all items selected without replacement is Requirements: 1.There are n items available, and some items are identical to others. 2.We select all of the n items (without replacement). 3.We consider rearrangements of distinct items to be different sequences.

Combinations Rule

Examples Elected Offices …(From 9 members in the college, elect 3 persons committee to oversee buildings and grounds How many different 3 persons committee are possible)

( n - r ) ! r! n! n C r = Combinations Rule If the preceding requirements are satisfied, the number of combinations of r items selected from n different items is Requirements: 1.There are n different items available. 2.We select r of the n items (without replacement). 3.We consider rearrangements of the same items to be the same. (The combination of ABC is the same as CBA.)

Comparison between Combinations Rule and Permutations Rule

permutation When different orderings of the same items are to be counted separately, we have a permutation problem, combination but when different orderings are not to be counted separately, we have a combination problem. Permutations versus Combinations

Examples Elected Offices …(From 9 members in the college, elect 3 persons committee to oversee buildings and grounds How many different 3 persons committee are possible) Elected Offices …(From 9 members in the college, elect 3 persons, one is the chairperson, vice chairperson and secretary)

Example 7 Elected Offices: From 9 member, each year, they elect 3-person committee to oversee ( Chairperson, vice chairperson, secretary) a)how many different 3-person committees are possible? b) how many different slates of candidates are possible?

Possible permutations of three letters from the collection of five letters

{a,b,c} {a,b,d} {a,b,e} {a,c,d} {a,c,e} {a,d,e} {b,c,d} {b,c,e} {b,d,e} {c,d,e} Possible Combinations of three letters from the collection of five letters