Counting & Basic probabilities. Stat 430 Heike Hofmann

Similar documents
Compound Probability. Set Theory. Basic Definitions

If a regular six-sided die is rolled, the possible outcomes can be listed as {1, 2, 3, 4, 5, 6} there are 6 outcomes.

November 6, Chapter 8: Probability: The Mathematics of Chance

CS 237: Probability in Computing

STAT 3743: Probability and Statistics

Elementary Combinatorics

Contents 2.1 Basic Concepts of Probability Methods of Assigning Probabilities Principle of Counting - Permutation and Combination 39

Problems from 9th edition of Probability and Statistical Inference by Hogg, Tanis and Zimmerman:

Block 1 - Sets and Basic Combinatorics. Main Topics in Block 1:

Counting and Probability

November 11, Chapter 8: Probability: The Mathematics of Chance

2. Combinatorics: the systematic study of counting. The Basic Principle of Counting (BPC)

CS 361: Probability & Statistics

The study of probability is concerned with the likelihood of events occurring. Many situations can be analyzed using a simplified model of probability

Discrete mathematics

CSE 312: Foundations of Computing II Quiz Section #2: Inclusion-Exclusion, Pigeonhole, Introduction to Probability (solutions)

Probability Rules 3.3 & 3.4. Cathy Poliak, Ph.D. (Department of Mathematics 3.3 & 3.4 University of Houston )

Probability (Devore Chapter Two)

Lesson 3 Dependent and Independent Events

TEST A CHAPTER 11, PROBABILITY

Mathematical Foundations HW 5 By 11:59pm, 12 Dec, 2015

Probability MAT230. Fall Discrete Mathematics. MAT230 (Discrete Math) Probability Fall / 37

Sample Spaces, Events, Probability

November 8, Chapter 8: Probability: The Mathematics of Chance

Lecture 14. What s to come? Probability. A bag contains:

Discrete Structures for Computer Science

Chapter 1. Probability

RANDOM EXPERIMENTS AND EVENTS

Chapter 1. Probability

Probability Theory. Mohamed I. Riffi. Islamic University of Gaza

Q1) 6 boys and 6 girls are seated in a row. What is the probability that all the 6 gurls are together.

Section Summary. Finite Probability Probabilities of Complements and Unions of Events Probabilistic Reasoning

Unit 6: Probability. Marius Ionescu 10/06/2011. Marius Ionescu () Unit 6: Probability 10/06/ / 22

Today s Topics. Next week: Conditional Probability

Unit 6: Probability. Marius Ionescu 10/06/2011. Marius Ionescu () Unit 6: Probability 10/06/ / 22

BIOL2300 Biostatistics Chapter 4 Counting and Probability

1. Counting. 2. Tree 3. Rules of Counting 4. Sample with/without replacement where order does/doesn t matter.

INDEPENDENT AND DEPENDENT EVENTS UNIT 6: PROBABILITY DAY 2

CSE 312: Foundations of Computing II Quiz Section #2: Inclusion-Exclusion, Pigeonhole, Introduction to Probability

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

Independent Events. 1. Given that the second baby is a girl, what is the. e.g. 2 The probability of bearing a boy baby is 2

Grade 7/8 Math Circles February 25/26, Probability

Section Introduction to Sets

Textbook: pp Chapter 2: Probability Concepts and Applications

Discrete Mathematics with Applications MATH236

3 The multiplication rule/miscellaneous counting problems

CSC/MATA67 Tutorial, Week 12

CHAPTER 2 PROBABILITY. 2.1 Sample Space. 2.2 Events

PROBABILITY. 1. Introduction. Candidates should able to:

STAT 430/510 Probability Lecture 1: Counting-1

MATHEMATICS 152, FALL 2004 METHODS OF DISCRETE MATHEMATICS Outline #10 (Sets and Probability)

3 The multiplication rule/miscellaneous counting problems

3. Discrete Probability. CSE 312 Spring 2015 W.L. Ruzzo

Introduction to Probability and Statistics I Lecture 7 and 8

4.3 Some Rules of Probability

Combinatorics: The Fine Art of Counting

Probability and Randomness. Day 1

A Probability Work Sheet

The Classification of Quadratic Rook Polynomials of a Generalized Three Dimensional Board

Name Date. Sample Spaces and Probability For use with Exploration 12.1

Define and Diagram Outcomes (Subsets) of the Sample Space (Universal Set)

Probability. Dr. Zhang Fordham Univ.

Week 3 Classical Probability, Part I

Chapter 2: Probability

STAT 311 (Spring 2016) Worksheet: W3W: Independence due: Mon. 2/1

M146 - Chapter 5 Handouts. Chapter 5

Chapter 16. Probability. For important terms and definitions refer NCERT text book. (6) NCERT text book page 386 question no.

n! = n(n 1)(n 2) 3 2 1

STANDARD COMPETENCY : 1. To use the statistics rules, the rules of counting, and the characteristic of probability in problem solving.

Mixed Counting Problems

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

CS 361: Probability & Statistics

CS70: Lecture Review. 2. Stars/Bars. 3. Balls in Bins. 4. Addition Rules. 5. Combinatorial Proofs. 6. Inclusion/Exclusion

Probability. March 06, J. Boulton MDM 4U1. P(A) = n(a) n(s) Introductory Probability

Chapter 4 Student Lecture Notes 4-1

Name: Class: Date: ID: A


Math 1324 Finite Mathematics Sections 8.2 and 8.3 Conditional Probability, Independent Events, and Bayes Theorem

STAT 515 fa 2016 Lec 04 Independence, Counting Rules

ABC High School, Kathmandu, Nepal. Topic : Probability

Toss two coins 60 times. Record the number of heads in each trial, in a table.

The next several lectures will be concerned with probability theory. We will aim to make sense of statements such as the following:

Probability and Statistics. Copyright Cengage Learning. All rights reserved.

5 Elementary Probability Theory

Applied Statistics I

ECON 214 Elements of Statistics for Economists

Combinatorics and Intuitive Probability

Counting Techniques, Combinations, Permutations, Sets and Venn Diagrams

Toss two coins 10 times. Record the number of heads in each trial, in a table.

Lecture 1. Permutations and combinations, Pascal s triangle, learning to count

The probability set-up

Honors Precalculus Chapter 9 Summary Basic Combinatorics

PROBABILITY. The sample space of the experiment of tossing two coins is given by

Discrete Finite Probability Probability 1

STAT 430/510 Probability

PROBABILITY. Example 1 The probability of choosing a heart from a deck of cards is given by

Probability. The MEnTe Program Math Enrichment through Technology. Title V East Los Angeles College

23 Applications of Probability to Combinatorics

Introductory Probability

TO EARN ANY CREDIT, YOU MUST SHOW WORK.

Transcription:

Counting & Basic probabilities Stat 430 Heike Hofmann 1

Outline Combinatorics (Counting rules) Conditional probability Bayes rule 2

Combinatorics 3

Summation Principle Alternative Choices Start n1 ways n2 ways... nk ways Stop If a complex action can be performed using k alternative methods and each method can be done in n 1,n 2,...,n k ways, there are a total of N ways that the complex action can be performed, with N = n 1 + n 2 +... + n k 4

Multiplication Principle Sequence of Choices Start n1 ways n2 ways... nk ways Stop If a complex action consists of a series of k actions and each action can be done in n 1,n 2,...,n k ways, there are a total of N ways that the complex action can be performed, with N = n 1 n 2... n k 5

Counting Examples roll two dice Ω 1 = (1, 1), (1, 2)... (1, 6) (2, 1), (2, 2)... (2, 6)...... (6, 1), (6, 2)... (6, 6) 6

e.g. roll two dice (1, 1), (1, 2)... (1, 6) (2, 1), (2, 2)... (2, 6) Ω 1 =...... (6, 1), (6, 2)... (6, 6) Ω 2 = {1, 1}, {1, 2}... {1, 6} {2, 2}... {2, 6}.... {6, 6} 7

e.g. roll two dice (1, 1), (1, 2)... (1, 6) (2, 1), (2, 2)... (2, 6) Ω 1 =...... (6, 1), (6, 2)... (6, 6) 36 elements Ω 2 = {1, 1}, {1, 2}... {1, 6} {2, 2}... {2, 6}.... {6, 6} 7

e.g. roll two dice (1, 1), (1, 2)... (1, 6) (2, 1), (2, 2)... (2, 6) Ω 1 =...... (6, 1), (6, 2)... (6, 6) 36 elements Ω 2 = {1, 1}, {1, 2}... {1, 6} {2, 2}... {2, 6}.... {6, 6} 21 elements 7

e.g. roll two dice (1, 1), (1, 2)... (1, 6) (2, 1), (2, 2)... (2, 6) Ω 1 =...... (6, 1), (6, 2)... (6, 6) order matters Ω 2 = order does not matter {1, 1}, {1, 2}... {1, 6} {2, 2}... {2, 6}.... {6, 6} 36 elements 21 elements 7

e.g. roll three dice order matters order does not matter 8

e.g. roll three dice order matters Ω 1 =6 6 6 = 216 elements order does not matter Ω 2 =... = 55 elements 8

pick four cards from stack of 52 order matters order does not matter 9

pick four cards from stack of 52 order matters Ω 1 = 52 51 50 49 = 6497400 choices order does not matter Ω 2 = 52 = 4 270725 elements 9

Difference between dice & cards example die results are always in {1, 2, 3, 4, 5, 6} (with replacement) once a card is drawn, it is out of the stack (without replacement) 10

Counting Rules Goal: determine overall size of sample space without listing all elements manually Side benefit: usually we can find a mathematical description of the sample space in the process. 11

Combinatorics 12

Counting rules Urn model n numbered objects (balls) in a bag (urn) 1 2 3 13

Ordered samples with replacement Urn model: pick ball from urn, write down number, put ball back,repeat k times Sequential setup fits Multiplication principle: N = n n... n = n k k times 14

Ordered samples without replacement Urn model: pick ball from urn, write down number, put ball not back,repeat k times Sequential k times setup fits Multiplication principle: N = n (n 1)... (n k + 1) k times = n! (n k)! 15

Ordered samples without replacement Urn model: pick ball from urn, write down number, put ball not back,repeat k times Sequential k times setup fits Multiplication principle: N = n (n 1)... (n k + 1) k times this is also called the permutation number = n! (n k)! 15

Unordered samples without replacement Urn model: pick k balls from urn at once Trick: pick balls ordered w/o replacement, then mes remove order: n! N = (n k)! n! n (k!) 1 = (n k)!k! = k 16

Unordered samples with replacement Urn model: pick ball from urn, write down number, put ball back,repeat k times, keep only record of #times each ball is sampled: 1 1 2 4 4 4 7 7 k balls, (n-1) lines, i.e. k+n-1 objects Trick: place k balls among k+n-1 places n + k 1 N = k 17

Example How many ways are there to uniquely rearrange the letters of M I S S I S S I P P I 18

Independence 19

Probability concepts Independence/Dependency If occurrence of event A changes the probability of event B, the events are dependent: P (B A) = if P(A) 0 P (A B) P (A) 20

Independence Events A and B are independent, if P (A B) =P (A) P (B) 21

System reliability Serial System: system works, if all of its components are working Parallel System: system works if at least one component is working 22

Bayes Rule 23

Bayes Rule Definition: cover A set of events B 1,B 2,B 3,... is a cover, if the sets are pairwise disjoint and exhaustive (i.e. they cover the sample space) 24

Bayes Rule Total probability Let B 1,B 2,B 3,... be a cover of the sample space, then P(A) can be computed as k P (A) = P (B i ) P (A B i ). i=1 25

Bayes Theorem Let space, then B 1,B 2,B 3,... P (B j A) = P (B j A) P (A) Bayes Rule = be a cover of the sample P (A B j ) P (B j ) k i=1 P (A B i) P (B i ) 26