Practice ITCS 2175.

Slides:



Advertisements
Similar presentations
Probability Probability Principles of EngineeringTM
Advertisements

Lecture Discrete Probability. 5.2 Recap Sample space: space of all possible outcomes. Event: subset of of S. p(s) : probability of element s of.
Lecture Discrete Probability. 5.3 Bayes’ Theorem We have seen that the following holds: We can write one conditional probability in terms of the.
Review of Probability. Definitions (1) Quiz 1.Let’s say I have a random variable X for a coin, with event space {H, T}. If the probability P(X=H) is.
March 31, 2015Applied Discrete Mathematics Week 8: Advanced Counting 1 Discrete Probability Example I: A die is biased so that the number 3 appears twice.
Binomial Distribution & Bayes’ Theorem. Questions What is a probability? What is the probability of obtaining 2 heads in 4 coin tosses? What is the probability.
Copyright © Cengage Learning. All rights reserved. 8.6 Probability.
Counting Chapter 13 sec 1. Break up into groups One method of counting is using the tree diagram. ◦ It is useful to keep track of counting. ◦ Order of.
Lec 18 Nov 12 Probability – definitions and simulation.
Probability Probability Principles of EngineeringTM
CSE 221: Probabilistic Analysis of Computer Systems Topics covered: Conditional probability Independent events Bayes rule Bernoulli trials (Sec )
CSE 221: Probabilistic Analysis of Computer Systems Topics covered: Independent events Bayes rule Bernoulli trials (Sec )
1 Copyright M.R.K. Krishna Rao 2003 Chapter 5. Discrete Probability Everything you have learned about counting constitutes the basis for computing the.
CHAPTER 8_A PROBABILITY MODELS BERNOULLI TRIAL
Quiz 4  Probability Distributions. 1. In families of three children what is the mean number of girls (assuming P(girl)=0.500)? a) 1 b) 1.5 c) 2 d) 2.5.
Bell Work: Collect like terms: x + y – 1 – x + y + 1.
Counting Principles and Probability Digital Lesson.
Warm up: Solve each system (any method). W-up 11/4 1) Cars are being produced by two factories, factory 1 produces twice as many cars (better management)
1 Algorithms CSCI 235, Fall 2012 Lecture 9 Probability.
Sets, Combinatorics, Probability, and Number Theory Mathematical Structures for Computer Science Chapter 3 Copyright © 2006 W.H. Freeman & Co.MSCS SlidesProbability.
Chapter 12 – Probability and Statistics 12.1 – The Counting Principle.
The Binomial Distribution Permutations: How many different pairs of two items are possible from these four letters: L, M. N, P. L,M L,N L,P M,L M,N M,P.
Binomial Distributions Calculating the Probability of Success.
1 Bernoulli trial and binomial distribution Bernoulli trialBinomial distribution x (# H) 01 P(x)P(x)P(x)P(x)(1 – p)p ?
Probability Chapter 3. § 3.4 Counting Principles.
Bernoulli Trials Two Possible Outcomes –Success, with probability p –Failure, with probability q = 1  p Trials are independent.
Independent Events Slideshow 54, Mathematics Mr Richard Sasaki, Room 307.
Binomial Experiment A binomial experiment (also known as a Bernoulli trial) is a statistical experiment that has the following properties:
Binomial Probability Distribution
Binomial Distributions. Quality Control engineers use the concepts of binomial testing extensively in their examinations. An item, when tested, has only.
Probability Probability is the measure of how likely an event is. An event is one or more outcomes of an experiment. An outcome is the result of a single.
Probability The calculated likelihood that a given event will occur
The Big Picture: Counting events in a sample space allows us to calculate probabilities The key to calculating the probabilities of events is to count.
Copyright © Cengage Learning. All rights reserved. 8.6 Probability.
FORM : 4 DEDIKASI PRESENTED BY : GROUP 11 KOSM, GOLDCOURSE HOTEL, KLANG FORM : 4 DEDIKASI PRESENTED BY : GROUP 11 KOSM, GOLDCOURSE HOTEL, KLANG.
(c) 2007 IUPUI SPEA K300 (4392) Probability Likelihood (chance) that an event occurs Classical interpretation of probability: all outcomes in the sample.
Basic Concepts of Probability
Binomial Probabilities IBHL, Y2 - Santowski. (A) Coin Tossing Example Take 2 coins and toss each Make a list to predict the possible outcomes Determine.
The Outwood Grange Family of Schools Let Me Count The Ways (teacher notes): 1. Obviously an important skill in problem solving is to be able to count the.
Mathematics Probability: Events Science and Mathematics Education Research Group Supported by UBC Teaching and Learning Enhancement Fund Department.
The Most Interesting Statistics From 2014 | RealClearMarkets On average, children run a mile 90 seconds slower than their counterparts 30 years ago. Nine.
Bernoulli Trials, Geometric and Binomial Probability models.
3.4 Independent and Dependent Events. If you have two exams next Tuesday, what is the probability that you will pass both of them? How can you predict.
Discrete Math Section 16.3 Use the Binomial Probability theorem to find the probability of a given outcome on repeated independent trials. Flip a coin.
By:Tehya Pugh. What is Theoretical Probability  Theoretical Probability Is what you predict what will happen without really doing the experiment.  I.
16-3 The Binomial Probability Theorem. Let’s roll a die 3 times Look at the probability of getting a 6 or NOT getting a 6. Let’s make a tree diagram.
3/7/20161 Now it’s time to look at… Discrete Probability.
Algebra 2.  Experimental v. Theoretical Probability.
1. Binomial Trials: Success/Failure 2. Probability of k Successes 1.
Counting Introduction to Probability & Statistics Counting.
Binomial Probability Theorem In a rainy season, there is 60% chance that it will rain on a particular day. What is the probability that there will exactly.
Mutually Exclusive & Independence PSME 95 – Final Project.
Conditional probability
Adding Probabilities 12-5
Bernoulli Trials and Binomial Probability models
Multiple Events.
EXAMPLE 1 Find a sample space
Probability Trees By Anthony Stones.
A D D A D.
Warm Up Which of the following are combinations?
Statistical Inference for Managers
Probability By Mya Vaughan.
Section Simulation AP Statistics.
I flip a coin two times. What is the sample space?
©G Dear 2009 – Not to be sold/Free to use
Probability Probability Principles of EngineeringTM
Pascal’s Triangle By Marisa Eastwood.
 I can construct models to represent the probability of compound events.  
6.2 Probability Models.
Presentation transcript:

Practice ITCS 2175

Flipping a coin 4 times. How many different combinations of heads and tails are there? C1: HHHHHHHH T T T T T T T T C2: HHHHT T T THHHH T T T T C3: HH T T H H T THH T THHT T C4: HT H TH T H TH T HT H THT 16: How do we compute without counting? Product rule: 24

How many ways can we get exactly 2 heads and 2 tails? C1: HHHHHHHH T T T T T T T T C2: HHHHT T T THHHH T T T T C3: HH T T H H T THH T THHT T C4: HT H TH T H TH T HT H THT 6: How do we compute? C(4,2) = 4!/2!(4-2)! = 24/4 = 6 Why is this a combination and not a permutation?

What is the probability of getting exactly 2 heads? 6/16 = 0.375 Probability of k successes in n independent Bernoulli trials! C(n,k)pkqn-k = C(4,2)(0.5)2(0.5)2 = 6*(0.5)4 =0.375

What is the probability of getting at least one tails in 4 flips? C1: HHHHHHHHTTTTTTTT C2: HHHHTTTTHHHHTTTT C3: HHTTHHTTHHTTHHTT C4: HTHTHTHTHTHTHTHT 15/16 1 success:C(4,1)(1/2)3(1/2)1 = (4!/3!1!)/16 = 4/16 2 successes: C(4,2 )(1/2)2(1/2)2 = (4!/2!2!)/16 = 6/16 3 successes: C(4,3 )(1/2)2(1/2)2 = (4!/1!3!/16 = 4/16 4 successes: C(4,4)(1/2)2(1/2)2 = (4!/4!0!)/16 = 1/16 0 successes: C(4,0)(1/2)4(1/2)0 = (4!/0!4!)/16 = 1/16

What is the probability of getting a tails on the 2nd flip? C1: HHHHHHHHTTTTTTTT C2: HHHHTTTTHHHHTTTT C3: HHTTHHTTHHTTHHTT C4: HTHTHTHTHTHTHTHT 8/16 = 1/2 There are two possibilities on the 2nd flip, heads or tails. Therefore, the probability of tails is 1/2. Each flip is an independent event!

What is the probability of getting a tails on either the 2nd flip or the 4th flip? C1: HHHHHHHH T T T T T T T T C2: HHHHT T T THHHH T T T T C3: HH T T H H T THH T THHT T C4: HT H TH T H TH T HT H THT 12/16 = 3/4 p(tails on 2nd flip) + p(tails on 4th flip) - p(tails on both flips) = 8/16 + 8/16 - 4/16 = 3/4 p(E1E2) = p(E1) + p(E2) - p(E1E2) = 1/2 + 1/2 - 1/4 = 3/4

What is the probability that we have a heads immediately followed by at least one tails with 4 coin flips? C1: HHHHHHHHTTTTTTTT C2: HHHHTTTTHHHHTTTT C3: HHTTHHTTHHTTHHTT C4: HTHTHTHTHTHTHTHT 12/16 : How to compute? Three places that can be a heads 1/2 is probability that a heads is there, 1/2 is probability that tails follows: 3*(1/2)*(1/2) = 3/4.