Statistics Combinatorics

Slides:



Advertisements
Similar presentations
Counting Principles Probability.
Advertisements

How many possible outcomes can you make with the accessories?
Expected value a weighted average of all possible values where the weights are the probabilities of each outcome :
40S Applied Math Mr. Knight – Killarney School Slide 1 Unit: Probability Lesson: PR-4 Fundamental Counting Principle Fundamental Counting Principle Learning.
9.6 Counting Principles Permutations Combinations.
P ERMUTATIONS AND C OMBINATIONS Homework: Permutation and Combinations WS.
10-8 Permutations Warm Up Warm Up Lesson Presentation Lesson Presentation Problem of the Day Problem of the Day Lesson Quizzes Lesson Quizzes.
MATH104 Ch. 11: Probability Theory. Permutation Examples 1. If there are 4 people in the math club (Anne, Bob, Cindy, Dave), and we wish to elect a president.
Permutations and Combinations
Permutations and Combinations
IT College Introduction to Computer Statistical Packages Lecture 9 Eng. Heba Hamad 2010.
Chapter  Determine how many different possibilities are possible:  1. There are 3 different ice cream flavors and 5 different toppings. You.
Objectives Solve counting problems using the Multiplication Rule Solve counting problems using permutations Solve counting problems using combinations.
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.
ProbabilityProbability Counting Outcomes and Theoretical Probability.
THE NATURE OF COUNTING Copyright © Cengage Learning. All rights reserved. 12.
Honors PreCalculus: Section 9.1 Basic Combinatorics.
Permutations and Combinations
MATH260 Ch. 5: Probability Theory part 4 Counting: Multiplication, Permutations, Combinations.
Multiplication Counting Principle How many ways can you make an outfit out of 2 shirts and 4 pants? If there are m choices for step 1 and n choices for.
Topic: Probability.
Chapter 3 Probability Initial Objective: Develop procedures to determine the # of elements in a set without resorting to listing them first. 3-6 Counting.
Permutations and Combinations AII Objectives:  apply fundamental counting principle  compute permutations  compute combinations  distinguish.
Multiplication Counting Principle How many ways can you make an outfit out of 2 shirts and 4 pants? If there are m choices for step 1 and n choices for.
Permutations and Combinations. Fundamental Counting Principle Fundamental Counting Principle states that if an event has m possible outcomes and another.
13 Lesson 1 Let Me Count the Ways Fundamental Counting Principle, Permutations & Combinations CP Probability and Statistics FA 2014 S-ID.1S-CP.3S-CP.5.
Station 1 – Counting Principle, Permutations, & Combinations 1) Cindy is playing Scrabble and has the following letter tiles on her tray: A, L, S, T, D,
COMBINATORICS AND PROBABILITY T BOLAN menu. MENU COMBINATORICS: BASICS COMBINATION / PERMUTATION PERMUTATIONS with REPETITION BINOMIAL THEOREM (light)
Welcome to Week 09 College Trigonometry. Combinatorics Last week we learned about the fundamental counting rule Which tells the number of ways things.
Learn to use counting methods to determine possible outcomes.
Permutations and Combinations
Multiplication Rule Combinations Permutations
The Pigeonhole Principle
Multiplication Counting Principle
Welcome to Week 06 College Statistics
Welcome to . Week 06 Tues . MAT135 Statistics.
Welcome to wk08 MATH225 Applications of Discrete Mathematics and Statistics.
Counting Methods and Probability Theory
Warm Up Problem of the Day Lesson Presentation Lesson Quizzes.
Lesson 2.9 Objective: Probability permutations and combinations
Permutations and Combinations
Unit 4 – Combinatorics and Probability Section 4
BASIC PROBABILITY Probability – the chance of something (an event) happening # of successful outcomes # of possible outcomes All probability answers must.
Welcome to Wk06 MATH225 Applications of Discrete Mathematics and Statistics
Calculating Probability, Combinations and Permutations
Do Now If fours cards are drawn from a deck without replacement, find the probability of getting these results: All kings All diamonds All sevens.
Set, Combinatorics, Probability & Number Theory
Chapter 10 Counting Methods.
Binomial Expansion 2 L.O. All pupils can follow where the binomial expansion comes from All pupils understand binomial notation All pupils can use the.
Permutations and Combinations
Permutations and Combinations
Lesson 11-1 Permutations and Combinations
Permutations and Combinations
Permutations and Combinations
104- Ch. 11 part 1; 260- Ch. 5 pt. 2 master_prob_pc.pptx
Permutations and Combinations
How many possible outcomes can you make with the accessories?
Counting Methods and Probability Theory
Counting Principle.
Day 1 Counting Techniques
Counting Methods and Probability Theory
Counting Outcomes.
Bellwork Practice Packet 10.3 B side #3.
Counting Methods and Probability Theory
Permutations and Combinations
Permutations and Combinations
Lecture 7: Permutations and Combinations
Permutations and Combinations
Permutations and Combinations
Warm Up Problem of the Day Lesson Presentation Lesson Quizzes.
Presentation transcript:

Statistics Combinatorics https://www.123rf.com/photo_6622261_statistics-and-analysis-of-data-as-background.html

Probability # favorable outcomes If P = total # of outcomes you’ll need to know the total # of outcomes! If P =

Fundamental Counting Principle the number of ways things can occur

COUNTING IN-CLASS PROBLEM Male/Female and Tall/Short How many ways can these characteristics combine?

Male/Female and Tall/Short I try to build a tree: COUNTING IN-CLASS PROBLEM Male/Female and Tall/Short I try to build a tree:

Male/Female and Tall/Short Male Female / \ / \ Tall Short Tall Short COUNTING IN-CLASS PROBLEM Male/Female and Tall/Short Male Female / \ / \ Tall Short Tall Short

COUNTING IN-CLASS PROBLEM Male Female / \ / \ Tall Short Tall Short 4 possible ways to combine the characteristics: MT MS FT FS

COUNTING IN-CLASS PROBLEM How about: Blonde/Brunette/Redhead and Blue eyes/Green eyes/Brown eyes Build a tree!

COUNTING IN-CLASS PROBLEM Blonde Brunette Red / | \ / | \ / | \ Bl Br Gr Bl Br Gr Bl Br Gr How many ways to combine these characteristics?

COUNTING IN-CLASS PROBLEM Blonde Brunette Red / | \ / | \ / | \ Bl Br Gr Bl Br Gr Bl Br Gr How many ways to combine these characteristics? 9: BdBl BdBr BdGr BtBl BtBr BtGr RdBl RdBr RdGr

Fundamental Counting Principle The number of ways in which characteristics can be combined is found by multiplying the possibilities of each characteristic together

COUNTING IN-CLASS PROBLEM Two pairs of jeans: black blue Three shirts: white yellow blue Two pairs of shoes: black brown How many different ways can you get dressed?

COUNTING IN-CLASS PROBLEM Two pairs of jeans: black blue Three shirts: white yellow blue Two pairs of shoes: black brown How many different ways can you get dressed? 2 * 3 * 2 = 12

COUNTING IN-CLASS PROBLEM Multiple choice quiz 10 questions 4 choices on each How many ways are there to answer the questions on the test?

Multiple choice quiz 10 questions 4 choices on each COUNTING IN-CLASS PROBLEM Multiple choice quiz 10 questions 4 choices on each 4 * 4 * 4 *… (10 of them)

Multiple choice quiz 10 questions 4 choices on each COUNTING IN-CLASS PROBLEM Multiple choice quiz 10 questions 4 choices on each 4 * 4 * 4 *… (10 of them) Otherwise known as 410 = 1,048,576

How many ways out of the 1,048,576 can you get a 100? COUNTING IN-CLASS PROBLEM Multiple choice quiz 10 questions 4 choices on each How many ways out of the 1,048,576 can you get a 100?

1/1,048,576 chance of getting 100% if you guess on all questions COUNTING IN-CLASS PROBLEM Multiple choice quiz 10 questions 4 choices on each 1/1,048,576 chance of getting 100% if you guess on all questions

How many zip codes? 5 slots Can’t start with a 0 or a 1 COUNTING IN-CLASS PROBLEM How many zip codes? 5 slots Can’t start with a 0 or a 1

COUNTING IN-CLASS PROBLEM How many zip codes? ___ ___ ___ ___ ___

COUNTING IN-CLASS PROBLEM How many zip codes? 8 10 10 10 10

How many zip codes? 8 10 10 10 10 8*104 = 80,000 COUNTING IN-CLASS PROBLEM How many zip codes? 8 10 10 10 10 8*104 = 80,000

In Canada, they alternate Letter Number Letter Number Letter Number COUNTING IN-CLASS PROBLEM In Canada, they alternate Letter Number Letter Number Letter Number How many postal codes can they have?

In Canada, they alternate Letter Number Letter Number Letter Number COUNTING IN-CLASS PROBLEM In Canada, they alternate Letter Number Letter Number Letter Number 26*10*26 * 10*26*10 = 263 * 103 = 17,576,000 (A whole lot more than 80,000!)

Questions?

Combinatorics The number of ways in which characteristics can be combined is found by multiplying the possibilities of each characteristic together

Combinatorics Combinatorics expands on this idea – from a complete group, how many subgroups can you select?

Combinatorics IN-CLASS PROBLEM If you have 5 club members, how many ways can you pick 3 of them to go to a conference? Amy Bob Carlos Dawn Ed

Combinatorics IN-CLASS PROBLEM If you have 5 club members, how many ways can you pick 3 of them to go to a conference? Amy Bob Carlos Dawn Ed The order in which they are selected is not important

You can make a list: ABC ABD ABE ACD ACE ADE BCD BCE BDE CDE Combinatorics IN-CLASS PROBLEM You can make a list: ABC ABD ABE ACD ACE ADE BCD BCE BDE CDE

Combinatorics Even for a small list, it’s a lot of work And… how do you know you’ve got them all?

Combinatorics This is called “combinations” The formula: n! r!(n−r)! In some books: n r Read it as “n pick r”

Combinatorics Combinations an ordered arrangement of items such that: the items are selected from the same group no item is used more than once the order makes no difference

Combinatorics For nCr or n!/r!(n-r)! “n” is the total number in the group “r” is the number you are selecting

Combinatorics On a calculator: nCr In Excel: =combin(n,r)

Combinatorics IN-CLASS PROBLEM If you have 5 club members, how many ways can you pick 3 of them to go to a conference? Amy Bob Carlos Dawn Ed What is “n”? What is “r”?

Combinatorics IN-CLASS PROBLEM If you have 5 club members, how many ways can you pick 3 of them to go to a conference? Amy Bob Carlos Dawn Ed n=5 r=3 Calculate n! r!(n−r)!

Combinatorics IN-CLASS PROBLEM If you have 5 club members, how many ways can you pick 3 of them to go to a conference? n=5 r=3 n! r!(n−r)! = 5! 3!(5−3)! = 5! 3!2! = 5x4x3x2x1 (3x2x1)(2x1) = 10

Did we have 10 listed before? ABC ABD ABE ACD ACE ADE BCD BCE BDE CDE Combinatorics IN-CLASS PROBLEM Did we have 10 listed before? ABC ABD ABE ACD ACE ADE BCD BCE BDE CDE

Try this on your calculator or in Excel! Do you get 10? Combinatorics IN-CLASS PROBLEM Try this on your calculator or in Excel! Do you get 10?

Combinatorics IN-CLASS PROBLEM Try: 8C5 4C0 12C10

Combinatorics What happens if order IS important in selecting your subgroup?

Combinatorics IN-CLASS PROBLEM If you have 5 club members, how many ways can you pick a President, VP and Treasurer? Amy Bob Carlos Dawn Ed

Combinatorics Example: P: A VP: B or C or D or E T: whichever you didn’t pick for VP

Combinatorics This is going to be a REALLY hard one to do by making a list!

And that’s just with Amy as president! VP Treas A B C D E And that’s just with Amy as president!

Combinatorics We call this “permutations” an ordered arrangement of items such that: no item is used more than once the order DOES make a difference

Combinatorics # of permutations of n things taken r at a time: n P r = n! (n−r)!

For our club members: 5P3 = 5! (5−3)! = 5x4x3x2x1 2x1 = 60 Combinatorics IN-CLASS PROBLEM For our club members: 5P3 = 5! (5−3)! = 5x4x3x2x1 2x1 = 60

Try: 8P5 4P0 12P10 In Excel: =permut(n,r) Combinatorics IN-CLASS PROBLEM Try: 8P5 4P0 12P10 In Excel: =permut(n,r)

Combinatorics Word problems: Try to figure out if order is important or not Usually, it’s not, so it’s usually combinations If it is, it’s permutations

Questions?

Combinatorics In Colorado Powerball, you choose 5 from 69 numbers and then 1 from 26 for the Powerball

Combinatorics Because you are selecting 5 out of 69 and 1 out of 26, it is combinatorics!

What is the probability of winning the top prize (5 + Powerball)? Combinatorics IN-CLASS PROBLEMS What is the probability of winning the top prize (5 + Powerball)?

Combinatorics IN-CLASS PROBLEMS What is the probability of winning the top prize (5 + Powerball)? To do this, you have to pick all five numbers correctly and you also have to pick the Powerball number correctly

Combinatorics IN-CLASS PROBLEMS What is the probability of winning the top prize (5 + Powerball)? Is order important?

Combinatorics IN-CLASS PROBLEMS What is the probability of winning the top prize (5 + Powerball)? Is order important? Nope so we will use

Combinatorics IN-CLASS PROBLEMS What is the probability of winning the top prize (5 + Powerball)? Is order important? Nope so we will use combinations

Combinatorics IN-CLASS PROBLEMS What is the probability of winning the top prize (5 + Powerball)? What is the number of possible outcomes (the denominator)?

Combinatorics IN-CLASS PROBLEMS What is the probability of winning the top prize (5 + Powerball)? How many ways are there to pick the five numbers?

Combinatorics IN-CLASS PROBLEMS What is the probability of winning the top prize (5 + Powerball)? How many ways are there to pick the five numbers? C(69,5) = 69!/(5! * (69-5)!) = 11,238,513

Combinatorics IN-CLASS PROBLEMS What is the probability of winning the top prize (5 + Powerball)? How many ways are there to pick the Powerball?

Combinatorics IN-CLASS PROBLEMS What is the probability of winning the top prize (5 + Powerball)? How many ways are there to pick the Powerball? C(26,1) = 26

Combinatorics IN-CLASS PROBLEMS What is the probability of winning the top prize (5 + Powerball)? What is the number of possible outcomes (the denominator)?

Combinatorics IN-CLASS PROBLEMS What is the probability of winning the top prize (5 + Powerball)? What is the number of possible outcomes (the denominator)? 11,238,513 * 26 = 292,201,338

Combinatorics IN-CLASS PROBLEMS What is the probability of winning the top prize (5 + Powerball)? Now for the numerator! How many ways can you win?

Combinatorics IN-CLASS PROBLEMS What is the probability of winning the top prize (5 + Powerball)? Now for the numerator! How many ways can you win? 1

Combinatorics IN-CLASS PROBLEMS What is the probability of winning the top prize (5 + Powerball)? So the probability of winning the top prize is:

Combinatorics IN-CLASS PROBLEMS What is the probability of winning the top prize (5 + Powerball)? So the probability of winning the top prize is: 1/292,201,338

Combinatorics IN-CLASS PROBLEMS To make it easier to calculate the other prizes, let’s specify more exactly how the “1” way of winning happened

Combinatorics IN-CLASS PROBLEMS Among the 69 numbers, 5 are "winners" and 64 are "losers" Similarly, among the 26 Powerball numbers, 1 is a "winner" and 25 are "losers"

Combinatorics IN-CLASS PROBLEMS To pick all five numbers and the Powerball correctly, you must pick 5 out of the 5 winners and 0 out of the 64 losers, and you must pick 1 out of 1 Powerball winners and 0 out of 25 Powerball losers

Or: 5C5 * 64C0 * 1C1 * 25C0 = 1 * 1 * 1 * 1 = 1 Combinatorics IN-CLASS PROBLEMS Or: 5C5 * 64C0 * 1C1 * 25C0 = 1 * 1 * 1 * 1 = 1

Combinatorics IN-CLASS PROBLEMS Now we can calculate the probabilities of all of the prizes! (Get the Wk06 spreadsheet on vf-tropi.com)

What is the probability of winning a prize (any prize?) Combinatorics IN-CLASS PROBLEMS What is the probability of winning a prize (any prize?)

What is the probability of winning a prize (any prize?) a tad over 4% Combinatorics IN-CLASS PROBLEMS What is the probability of winning a prize (any prize?) a tad over 4%

Remember the EMV (expected monetary value) from trees? Combinatorics IN-CLASS PROBLEMS Remember the EMV (expected monetary value) from trees?

Combinatorics IN-CLASS PROBLEMS Remember the EMV (expected monetary value) from trees? You multiplied the profit by its probability

Combinatorics IN-CLASS PROBLEMS To find the expected monetary value (EMV) you multiply profit by its probability Can you do the same for your expected winnings?

Questions?