Unformatted text preview:

Introduction to Probability: Counting MethodsWhy Probability?ApplicationsMethods of CountingCombinatoricsSlide 6Set Theory and ProbabilityVenn DiagramsAn Example from Card GamesSample Space/Event SpaceCalculating the ProbabilityProbabilities from CombinationsProbabilities from SubexperimentsAn Example from Dice RollingSlide 15Calculating ProbabilitySide NoteIntroduction to Probability: Counting MethodsRutgers UniversityDiscrete Mathematics for ECE14:332:202Why Probability?We can describe processes for which the outcome is uncertainBy their average behaviorBy the likelihood of particular outcomesAllows us to build models for many physical behaviorsSpeech, images, traffic …ApplicationsCommunicationsSpeech and Image ProcessingMachine LearningDecision MakingNetwork SystemsArtificial IntelligenceUsed in many undergraduate courses (every grad course)Methods of CountingOne way of interpreting probability is by the ratio of favorable to total outcomesMeans we need to be able to count both the desired and the total outcomesFor illustration, we explore only the most important applications:Coin flippingDice rollingCard GamesCombinatoricsMathematical tools to help us count:How many ways can 12 distinct objects be arranged?How many different sets of 4 objects be chosen from a group of 20 objects?-- Extend this to find probabilities …CombinatoricsNumber of ways to arrange n distinct objects n!Number of ways to obtain an ordered sequence of k objects from a set of n: n!/(n-k)! -- k permutationNumber of ways to choose k objects out of n distinguishable objects:)!(!!knknknThis one comes up a lot!Set Theory and ProbabilityWe use the same ideas from set theory in our study of probabilityExperiment Roll a diceOutcome – any possible observation of an exp.Roll a sixSample Space – the set of all possible outcomes1,2,…6Event – set of outcomesDice rolled is oddVenn DiagramsOutcomes are mutually exclusive – disjoint124536SEvent AOutcomesAn Example from Card GamesWhat is the probability of drawing two of the same card in a row in a shuffled deck of cards?ExperimentPulling two cards from the deckEvent SpaceAll outcomes that describe our event:Two cards are the sameSample Space All Possible OutcomesAll combinations of 2 cards from a deck of 52Sample Space/Event SpaceVenn DiagramSEvent Space (set of favorable outcomes){A,A}{K,2}all possible outcomesCalculating the ProbabilityP(Event) =Expressed as the ratio of favorable outcomes to total outcomes -- Only when all outcomes are EQUALLY LIKELYspacesamp leinoutcomesspaceeventinoutcom es___#___#Probabilities from CombinationsRule of Product:Total number of two card combinations?We need to find all the combinations of suit and value that describe our event set: use rule of product to find the number of combinationsFirst, we find number of values – 13 choices, and choices of suits:to give our number of possible outcomes  13*6 = 78Probability(Event) = 78/1326 = 0.05881326)!252(!2!522526)!24(!2!424Probabilities from SubexperimentsOnly holds for independent experimentsLet’s look at the last problem:Two subexperiments:First can be anything 52/52 = 1 Second, must be one of the 3 remaining cards of the same value from 51 remaining cards  3/51 = 0.588An Example from Dice RollingExperiment: Roll Two (6-sided) DiceEvent: Numbers add to 7Sample Space: (all possible outcomes)S =1,1 1, 2 1,3 1, 4 1,5 1,62,1 2, 2 2,3 2, 4 2,5 2,63,1 3, 2 3,3 3, 4 3,5 3,64,1 4, 2 4,3 4, 4 4,5 4,65,1 5, 2 5,3 5, 4 5,5 5,66,1 6, 2 6,3 6, 4 6,5 6,6� �� �� �� �� �� �� �� �� �� ��Sample Space/Event SpaceVenn DiagramSEvent SpaceCalculating ProbabilityP(Event) == 6/36 = 1/6 spacesamp leinoutcomesspaceeventinoutcomes___#___#Side NoteProbability is something we calculate “theoretically” as a value between 0 and 1, it is not something calculated through experimentation (that is more statistics).Just because you roll a dice 100 times, and it came up as a 1 20 times, does not make P(roll a 1) = 0.2It would be the limiting case in doing an infinite number of experiments, but this is impossible. So, call your calculated values the “probability”, and your experimental values the “relative


View Full Document

Rutgers University ECE 202 - Counting Methods

Download Counting Methods
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Counting Methods and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Counting Methods 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?