Combinatorics. If you flip a penny 100 times, how many heads and tales do you expect?

Slides:



Advertisements
Similar presentations
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.
Advertisements

Lecture Discrete Probability. 5.3 Bayes’ Theorem We have seen that the following holds: We can write one conditional probability in terms of the.
Week11 Parameter, Statistic and Random Samples A parameter is a number that describes the population. It is a fixed number, but in practice we do not know.
Teaching Basic Statistics with R: An Introduction to Interactive Packages Shuen-Lin Jeng National Cheng Kung University.
Segment 3 Introduction to Random Variables - or - You really do not know exactly what is going to happen George Howard.
COUNTING AND PROBABILITY
CHAPTER 13: Binomial Distributions
Instructor: Dr. Ayona Chatterjee Spring  If there are N equally likely possibilities of which one must occur and n are regarded as favorable, or.
Math 210G.M01, Fall 2013 Lecture 6: Combinatorial aspects of probability.
Probability – Page 1CSCI 1900 – Discrete Structures CSCI 1900 Discrete Structures Probability Reading: Kolman, Section 3.4.
Probability Dr. Deshi Ye Outline  Introduction  Sample space and events  Probability  Elementary Theorem.
1 Discrete Structures & Algorithms Discrete Probability.
1 Discrete Math CS 280 Prof. Bart Selman Module Probability --- Part a) Introduction.
Midterm Review Solutions Math 210G-04, Spring 2011.
1 Section 5.1 Discrete Probability. 2 LaPlace’s definition of probability Number of successful outcomes divided by the number of possible outcomes This.
Bell Work: Factor x – 6x – Answer: (x – 8)(x + 2)
Great Theoretical Ideas in Computer Science.
Review of Probability and Binomial Distributions
Normal and Sampling Distributions A normal distribution is uniquely determined by its mean, , and variance,  2 The random variable Z = (X-  /  is.
1 The game of poker You are given 5 cards (this is 5-card stud poker) The goal is to obtain the best hand you can The possible poker hands are (in increasing.
Hamid R. Rabiee Fall 2009 Stochastic Processes Review of Elementary Probability Lecture I.
CHAPTER 6 Random Variables
Hypothesis Testing. Central Limit Theorem Hypotheses and statistics are dependent upon this theorem.
Sets, Combinatorics, Probability, and Number Theory Mathematical Structures for Computer Science Chapter 3 Copyright © 2006 W.H. Freeman & Co.MSCS SlidesProbability.
Sets, Combinatorics, Probability, and Number Theory Mathematical Structures for Computer Science Chapter 3 Copyright © 2006 W.H. Freeman & Co.MSCS SlidesProbability.
1 9/8/2015 MATH 224 – Discrete Mathematics Basic finite probability is given by the formula, where |E| is the number of events and |S| is the total number.
Chapter 12 Probability © 2008 Pearson Addison-Wesley. All rights reserved.
1 9/23/2015 MATH 224 – Discrete Mathematics Basic finite probability is given by the formula, where |E| is the number of events and |S| is the total number.
Probability – Models for random phenomena
Binomial Distributions Calculating the Probability of Success.
Permutations & Combinations and Distributions
Vegas Baby A trip to Vegas is just a sample of a random variable (i.e. 100 card games, 100 slot plays or 100 video poker games) Which is more likely? Win.
Chapter 7 With Question/Answer Animations. Section 7.1.
Introduction to Behavioral Statistics Probability, The Binomial Distribution and the Normal Curve.
The Practice of Statistics, 5th Edition Starnes, Tabor, Yates, Moore Bedford Freeman Worth Publishers CHAPTER 6 Random Variables 6.3 Binomial and Geometric.
Homework Homework due now. Reading: relations
Week11 Parameter, Statistic and Random Samples A parameter is a number that describes the population. It is a fixed number, but in practice we do not know.
8 Sampling Distribution of the Mean Chapter8 p Sampling Distributions Population mean and standard deviation,  and   unknown Maximal Likelihood.
Permutations & Combinations and Distributions
Stats 95. Normal Distributions Normal Distribution & Probability Events that will fall in the shape of a Normal distribution: –Measures of weight, height,
Sixth lecture Concepts of Probabilities. Random Experiment Can be repeated (theoretically) an infinite number of times Has a well-defined set of possible.
The Practice of Statistics, 5th Edition Starnes, Tabor, Yates, Moore Bedford Freeman Worth Publishers CHAPTER 6 Random Variables 6.3 Binomial and Geometric.
Basic Concepts of Probability
Part I: Binomial distributions
Psychology 202a Advanced Psychological Statistics September 29, 2015.
Binomial Distributions Chapter 5.3 – Probability Distributions and Predictions Mathematics of Data Management (Nelson) MDM 4U.
Basic Concepts of Discrete Probability 1. Sample Space When “probability” is applied to something, we usually mean an experiment with certain outcomes.
Central Limit Theorem Let X 1, X 2, …, X n be n independent, identically distributed random variables with mean  and standard deviation . For large n:
Binomial Distributions Chapter 5.3 – Probability Distributions and Predictions Mathematics of Data Management (Nelson) MDM 4U Authors: Gary Greer (with.
Sampling Theory Determining the distribution of Sample statistics.
Random Variables If  is an outcome space with a probability measure and X is a real-valued function defined over the elements of , then X is a random.
Spring 2016 COMP 2300 Discrete Structures for Computation Donghyun (David) Kim Department of Mathematics and Physics North Carolina Central University.
Math 210G.M03, Spring 2016 Lecture 6: Combinatorial aspects of probability.
Probability and statistics - overview Introduction Basics of probability theory Events, probability, different types of probability Random variable, probability.
Math 210G.M02, Fall 2016 Lecture 6: Combinatorial aspects of probability.
APPENDIX A: A REVIEW OF SOME STATISTICAL CONCEPTS
CHAPTER 6 Random Variables
Chapter 6: Discrete Probability
Activity Roll a die 10 times.
Binomial and Geometric Random Variables
Sequences, Series, and Probability
Hypothesis Testing.
Psychology 202a Advanced Psychological Statistics
Samples and Populations
Sample Mean Distributions
Sampling Distribution of the Mean
I flip a coin two times. What is the sample space?
e is the possible out comes for a model
 I can construct models to represent the probability of compound events.  
Sets, Combinatorics, Probability, and Number Theory
Presentation transcript:

Combinatorics

If you flip a penny 100 times, how many heads and tales do you expect?

Binomial distribution: Independent events: the outcome (H,T) of the second coin does not depend on the outcome of the first. Typical sequence of result of 10 flips: HTTHTTTHTH Given N fair coins, the probability of any given outcome sequence is (1/2)*(1/2)*…*(1/2)=1/2^N The probability of HTTHTTTHTH is (1/2)^10=1/1024

What if order doesn’t matter? Two coins: the possible outcomes are: 1) TT 2) TH 3) HT 4) HH Each with probability ¼ The probability of one head and one tail is equal to ½ since it can happen two different ways.

Choosing subsets A set of N elements has 2^N subsets if we include the empty set and the whole set. Think of the set a set of N coins and the “chosen” subset of the ones that will be heads. Binomial coefficients

Let X1, X2, X3,... Xn be a sequence of n independent and identically distributed (i.i.d) random variables each having finite values of expectation µ and variance σ 2 > 0. The central limit theorem states that as the sample size n increases[3] [4], the distribution of the sample average of these random variables approaches the normal distribution with a mean µ and variance σ 2 / n irrespective of the shape of the original distribution.

The central limit theorem has an interesting history. The first version of this theorem was postulated by the French-born mathematician Abraham de Moivre who, in a remarkable article published in 1733, used the normal distribution to approximate the distribution of the number of heads resulting from many tosses of a fair coin. This finding was far ahead of its time, and was nearly forgotten until the famous French mathematician Pierre-Simon Laplace rescued it from obscurity in his monumental work ThéorieAnalytique des Probabilités, which was published in Laplace expanded De Moivre's finding by approximating the binomial distribution with the normal distribution. But as with De Moivre, Laplace's finding received little attention in his own time. It was not until the nineteenth century was at an end that the importance of the central limit theorem was discerned, when, in 1901, Russian mathematician AleksandrLyapunov defined it in general terms and proved precisely how it worked mathematically. Nowadays, the central limit theorem is considered to be the unofficial sovereign of probability theory.

Galton board illustrated

Second application: card games 5 card poker hands The number ways of choosing 5 cards from a set of 52 cards is “52 choose 5” =2,598,960

Probabilities as proportions Number of favorable outcomes divided by total number of possible outcomes Chance of 4 of a kind: 13 out of 2,598, x10^-6= out of a million

Possible poker hands Straight flush 40 Four of a kind 624 Full house 3,744 Flush (nonconsecutive) 5,108 Straight (mixed) 10,200 Three of a kind 54,912 Two pairs 123,552 One pair 1,098,240 No pairs 1,302,540 Total 2,598,960

How to figure… The number of ways to get a straight… Starting rank: 10 possible A,K,Q,J,10,9,8,7,6,5 Number of ways from a given starting rank: 4x4x4x4x4 = 1024 Total: 10,240 Subtract straight flushes: 10,200

How to figure… The number of ways to get 3 of a kind… Rank: 13 possible Number of a given rank: “4 choose 3” = 4 Number of possibilities of remaining two cards that do not give a pair: 48x44/2 Total: 13x4x48x22=54912

Problem Show how to determine the number of ways in which to get a poker hand containing exactly a pair.