Binomial random variables

Slides:



Advertisements
Similar presentations
Discrete Random Variables To understand what we mean by a discrete random variable To understand that the total sample space adds up to 1 To understand.
Advertisements

Discrete Distributions
Chapter 6 Some Special Discrete Distributions
Unit 18 Section 18C The Binomial Distribution. Example 1: If a coin is tossed 3 times, what is the probability of obtaining exactly 2 heads Solution:
Chapter 5 Probability Distributions. E.g., X is the number of heads obtained in 3 tosses of a coin. [X=0] = {TTT} [X=1] = {HTT, THT, TTH} [X=2] = {HHT,
5.1 Sampling Distributions for Counts and Proportions.
Random Variables A Random Variable assigns a numerical value to all possible outcomes of a random experiment We do not consider the actual events but we.
Pattern Classification, Chapter 1 1 Basic Probability.
CSE 221: Probabilistic Analysis of Computer Systems Topics covered: Special discrete distributions Sec
CHAPTER 6: RANDOM VARIABLES AND EXPECTATION
Probability Distributions: Finite Random Variables.
 Consider the number of typos on each page of your textbook…  Or the number of car accidents between exit 168 and exit 178 on IN-65.
Chapter 5 Discrete Probability Distribution I. Basic Definitions II. Summary Measures for Discrete Random Variable Expected Value (Mean) Variance and Standard.
Stat 1510: Introducing Probability. Agenda 2  The Idea of Probability  Probability Models  Probability Rules  Finite and Discrete Probability Models.
McGraw-Hill/IrwinCopyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Chapter 4 and 5 Probability and Discrete Random Variables.
IBS-09-SL RM 501 – Ranjit Goswami 1 Basic Probability.
Expected values and variances. Formula For a discrete random variable X and pmf p(X): Expected value: Variance: Alternate formula for variance:  Var(x)=E(X^2)-[E(X)]^2.
MTH3003 PJJ SEM I 2015/2016.  ASSIGNMENT :25% Assignment 1 (10%) Assignment 2 (15%)  Mid exam :30% Part A (Objective) Part B (Subjective)  Final Exam:
Discrete probability Business Statistics (BUSA 3101) Dr. Lari H. Arjomand
5.3 Random Variables  Random Variable  Discrete Random Variables  Continuous Random Variables  Normal Distributions as Probability Distributions 1.
Random Variables. A random variable X is a real valued function defined on the sample space, X : S  R. The set { s  S : X ( s )  [ a, b ] is an event}.
Random Variables an important concept in probability.
Econ 3790: Business and Economics Statistics Instructor: Yogesh Uppal
P. STATISTICS LESSON 8.2 ( DAY 1 )
Binomial Experiment A binomial experiment (also known as a Bernoulli trial) is a statistical experiment that has the following properties:
STA347 - week 51 More on Distribution Function The distribution of a random variable X can be determined directly from its cumulative distribution function.
Barnett/Ziegler/Byleen Finite Mathematics 11e1 Learning Objectives for Section 8.5 The student will be able to identify what is meant by a random variable.
Random Variables an important concept in probability.
Discrete Distributions. Random Variable - A numerical variable whose value depends on the outcome of a chance experiment.
Geometric and Hyper-geometric Distribution. Geometric Random Variable  Take a fair coin and toss it as many times as needed until you observe a head.
Binomial Distribution
Probability Distributions
Review of Chapter
Random Variables Learn how to characterize the pattern of the distribution of values that a random variable may have, and how to use the pattern to find.
Chapter 4 Random Variables - 1. Outline Random variables Discrete random variables Expected value 2.
Binomial Distributions Chapter 5.3 – Probability Distributions and Predictions Mathematics of Data Management (Nelson) MDM 4U.
MATH 256 Probability and Random Processes Yrd. Doç. Dr. Didem Kivanc Tureli 14/10/2011Lecture 3 OKAN UNIVERSITY.
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.
Binomial Distributions Chapter 5.3 – Probability Distributions and Predictions Mathematics of Data Management (Nelson) MDM 4U Authors: Gary Greer (with.
6.3 Binomial and Geometric Random Variables
3/7/20161 Now it’s time to look at… Discrete Probability.
Lecturer : FATEN AL-HUSSAIN Discrete Probability Distributions Note: This PowerPoint is only a summary and your main source should be the book.
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.
Random Variables Lecture Lecturer : FATEN AL-HUSSAIN.
1. 2 At the end of the lesson, students will be able to (c)Understand the Binomial distribution B(n,p) (d) find the mean and variance of Binomial distribution.
Chapter 5 Discrete Probability Distributions 1. Chapter 5 Overview 2 Introduction  5-1 Probability Distributions  5-2 Mean, Variance, Standard Deviation,
CHAPTER 5 Discrete Probability Distributions. Chapter 5 Overview  Introduction  5-1 Probability Distributions  5-2 Mean, Variance, Standard Deviation,
Discrete Random Variable Random Process. The Notion of A Random Variable We expect some measurement or numerical attribute of the outcome of a random.
Lesson 10: Using Simulation to Estimate a Probability Simulation is a procedure that will allow you to answer questions about real problems by running.
Terminologies in Probability
3 Discrete Random Variables and Probability Distributions
Random Variables.
Conditional Probability
Basic Probability aft A RAJASEKHAR YADAV.
Chapter 16.
Terminologies in Probability
Terminologies in Probability
Terminologies in Probability
Discrete Distributions
Discrete Distributions
Expected values and variances
Terminologies in Probability
Discrete Distributions.
Econ 3790: Business and Economics Statistics
Section 1 – Discrete and Continuous Random Variables
Discrete Random Variables: Basics
Terminologies in Probability
Discrete Random Variables: Basics
Terminologies in Probability
Discrete Random Variables: Basics
Presentation transcript:

Binomial random variables

Coin Toss Example If you toss a fair coin three time and let X= the number of heads observed. Find the expected value and variance of X. There are different ways to solve this problem. From the three tosses, we have a total of 8 outcomes. {HHH, HHT, HTH, THH, HTT, THT, TTH, TTT} Each of the above 8 outcomes has a probability of 1/8.

Coin Toss Example One way of finding the mean is to count the number of heads in each outcome and take the average. {3, 2, 2, 2, 1, 1, 1, 0} The mean is therefore 12/8=1.5 Then we can find the variance of the 8 numbers, which is: [(3-1.5)^2+3*(2-1.5)^2+3*(1-1.5)^2+(0-1.5)^2]/8=0.75

Coin Toss Example Another way is to find the pmf. Var(X)=(0-1.5)^2*(1/8)+(1-1.5)^2*(3/8)+(2-1.5)^2*(3/8)+(3-1.5)^2*(1/8)=0.75 X 1 2 3 P(X) 1/8 3/8

Coin Toss Example Yet another way. Here, we want to introduce some new concepts, Bernoulli and Binomial trials, which are repetitions of exactly the same experiments with two possible outcomes. In this case, we repeat the experiment of tossing a fair coin 3 times, each time with 50% chance of getting head and 50% chance of getting tail.

Bernoulli and Binomial Trials Bernoulli Trials: An experiment who has only two outcomes, and. E.g., tossing a fair coin (head 50%, tail 50%); tossing a biased coin (head 70%, tail 30%); rolling a fair die and getting a 3 or more (yes 4/6, no 2/6)

Bernoulli and Binomial Trials Repeating Bernoulli trials for a number of times, each repetition has the same possible outcomes The probability of each outcome is consistent for all trials.

Coin Toss Example That is a Binomial experiment, or we say the (discrete) random variable X follows a Binomial distribution. For Binomial distribution, the outcomes can be summarized with a pdf that does not have to look like a table, but like a function instead. Use our knowledge:

Binomial Experiment An experiment is said to be a binomial experiment if The experiment consists of a sequence of n identical trials Two outcomes (success/failure) are possible on each trial. The probability of a success, p, does not change from trial to trial. The trials are independent.

Binomial random variable Binomial random variable is a random variable that describes the outcomes of a binomial experiment. Example: 1. Tossing a fair coin 100 times. 2. Tossing a biased coin 100 times. 3. Rolling a fair die 100 times and record the numbers. 4. Rolling a fair die 100 times and record whether the outcome is even or odd. 5. Rolling a snow ball on a ground covered with snow and record whether it could pass a given distance.

Binomial random variable If a random variable describes the outcome of a binomial experiment, we can also say, this random variable follows a binomial distribution, or this random variable is binomially distributed.

A few words on probability distribution A probability distribution is an approximation to real life phenomenon. It usually provides a functional relationship between the possible values in the sample space and their probabilities. A probability distribution is always characterized by parameters. Therefore, knowing a probability distribution means knowing its functional form and its parameters.

Back to binomial distribution The functional form: The parameters: n and p.

Coin Toss Example There are easier ways to find the expected value and variance of a Binomial random variable. If X~BIN(n,p) E(X)=np Var(X)=np(1-p) In this case, n=3, p=0.5, so E(X)=np=3*0.5=1.5 and Var(X)=3*0.5*0.5=0.75

More questions on coin tossing What is the probability that we see at least 2 heads? That means the probability of seeing either 2 heads or 3 heads. P(X=2)+P(X=3)

Another example A player is shooting at a target 200 meters away. There is 80% chance that he can hit the target each time. He took 15 shots within 10 minutes. A. How many times do you expect him to hit the target? Also, find the standard deviation of the number of times he hits the target.

Shooting example B. What is the chance that he missed three times? C. What is the chance that he missed more than 5 times?

Shooting example If the player pays $25 to play the game gets a reward of $10 for each hit, what is the expected amount of money he gets for playing the game?

A more difficult example Two players, A and B are playing a game. A will roll a fair die and he wins if the number is greater than 4. They repeat the game 10 times. A. Let X be the number of games won by B, find E(X) and Var(X).

Card Game example B. What is the probability that B won at least 4 games? What is the probability that A won more than 7 games?

Card Game Example If A pays B $3 if B wins and B pays A $4 if A wins, is this a fair game? (a fair game means the expected payout from the game should be zero).

More on E(X) and Var(X) We mentioned before that the expected values have the following property: E(X+c)=E(X)+c E(aX)=aE(X) E(aX+c)=aE(X)+c E(aX+bY)=aE(X)+bE(Y)

More on E(X) and Var(X) Also, variances have similar properties: Var(X+b)=Var(X) Var(aX)=(a^2)Var(X) Var(X+Y)=Var(X)+Var(Y)+2Cov(X,Y). If X and Y are independent, Var(X+Y)=Var(X)+Var(Y). Var(aX+bY)=(a^2)Var(X)+(b^2)Var(Y)+2abCov(X,Y). If X and Y are independent, Var(aX+bY)=(a^2)Var(X)+(b^2)Var(Y).

More on E(X) and Var(X) *** The above properties are only for linear transformations. If we have, for example, y=2*sqrt(X), the above properties can not be used.

An example on E(X) and Var(X) A biologist is conducting a research on the temperature needed for chickens to be hatched. His lab results are summarized as the following, Temperature (C) 42 45 48 51 54 P(Hatching) 10% 15% 25% 35%

An example on E(X) and Var(X) What is the mean and variance for the temperature of hataching?

An example on E(X) and Var(X) The researcher’s lab assistant just found out that the thermometer was malfunctioning when the measures were taken. All the temperatures on record are 5 degrees lower than they should be. Shall the researcher re-do the experiment or do something else to make it up?

An example on E(X) and Var(X) The researcher wants to submit his results to apply for some grants. But the grant committee requires that the temperature should be recorded in terms of Fahrenheit instead of Celsius. What should the researcher do to update his data and results.