The Bernoulli distribution Discrete distributions.

Slides:



Advertisements
Similar presentations
Discrete Random Variables and Probability Distributions
Advertisements

Why this can be happen to me?. Can you think, who’ll be the faster catch the fish??
Discrete Uniform Distribution
Chapter 12 Probability © 2008 Pearson Addison-Wesley. All rights reserved.
1 Set #3: Discrete Probability Functions Define: Random Variable – numerical measure of the outcome of a probability experiment Value determined by chance.
Flipping an unfair coin three times Consider the unfair coin with P(H) = 1/3 and P(T) = 2/3. If we flip this coin three times, the sample space S is the.
5.1 Sampling Distributions for Counts and Proportions.
Review.
Probability Distributions
1 Copyright M.R.K. Krishna Rao 2003 Chapter 5. Discrete Probability Everything you have learned about counting constitutes the basis for computing the.
1 Engineering Computation Part 5. 2 Some Concepts Previous to Probability RANDOM EXPERIMENT A random experiment or trial can be thought of as any activity.
A random variable that has the following pmf is said to be a binomial random variable with parameters n, p The Binomial random variable.
Copyright © 2014 by McGraw-Hill Higher Education. All rights reserved.
Discrete Random Variables and Probability Distributions
C4: DISCRETE RANDOM VARIABLES CIS 2033 based on Dekking et al. A Modern Introduction to Probability and Statistics Longin Jan Latecki.
Discrete Random Variables and Probability Distributions
381 Discrete Probability Distributions (The Binomial Distribution) QSCI 381 – Lecture 13 (Larson and Farber, Sect 4.2)
Jointly distributed Random variables
Copyright © Cengage Learning. All rights reserved. 3.5 Hypergeometric and Negative Binomial Distributions.
McGraw-Hill/IrwinCopyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Chapter 4 and 5 Probability and Discrete Random Variables.
Section 15.8 The Binomial Distribution. A binomial distribution is a discrete distribution defined by two parameters: The number of trials, n The probability.
Statistics & Econometrics Statistics & Econometrics Statistics & Econometrics Statistics & Econometrics Statistics & Econometrics Statistics & Econometrics.
HW adjustment Q70 solve only parts a, b, and d. Q76 is moved to the next homework and added-Q2 is moved to the next homework as well.
The Negative Binomial Distribution An experiment is called a negative binomial experiment if it satisfies the following conditions: 1.The experiment of.
Section 7.2. Section Summary Assigning Probabilities Probabilities of Complements and Unions of Events Conditional Probability Independence Bernoulli.
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.
Binomial Experiment A binomial experiment (also known as a Bernoulli trial) is a statistical experiment that has the following properties:
COMP 170 L2 L17: Random Variables and Expectation Page 1.
King Saud University Women Students
Week 21 Conditional Probability Idea – have performed a chance experiment but don’t know the outcome (ω), but have some partial information (event A) about.
Expectation for multivariate distributions. Definition Let X 1, X 2, …, X n denote n jointly distributed random variable with joint density function f(x.
Methodology Solving problems with known distributions 1.
Stats Probability Theory Summary. The sample Space, S The sample space, S, for a random phenomena is the set of all possible outcomes.
Lesson 6 - R Discrete Probability Distributions Review.
Expectation. Let X denote a discrete random variable with probability function p(x) (probability density function f(x) if X is continuous) then the expected.
Exam 2: Rules Section 2.1 Bring a cheat sheet. One page 2 sides. Bring a calculator. Bring your book to use the tables in the back.
Discrete Random Variables. Discrete random variables For a discrete random variable X the probability distribution is described by the probability function,
Topic 3 - Discrete distributions Basics of discrete distributions - pages Mean and variance of a discrete distribution - pages ,
Some Common Discrete Random Variables. Binomial Random Variables.
Lec. 08 – Discrete (and Continuous) Probability Distributions.
Chapter 3 Discrete Random Variables and Probability Distributions  Random Variables.2 - Probability Distributions for Discrete Random Variables.3.
Random Variables Example:
Bernoulli Trials, Geometric and Binomial Probability models.
Copyright © 2011 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Chapter 5 Discrete Random Variables.
PROBABILITY AND STATISTICS WEEK 5 Onur Doğan. The Binomial Probability Distribution There are many experiments that conform either exactly or approximately.
Engineering Probability and Statistics - SE-205 -Chap 3 By S. O. Duffuaa.
3/7/20161 Now it’s time to look at… Discrete Probability.
2.2 Discrete Random Variables 2.2 Discrete random variables Definition 2.2 –P27 Definition 2.3 –P27.
Random Variables Lecture Lecturer : FATEN AL-HUSSAIN.
AP Statistics Chapter 8 Section 2. If you want to know the number of successes in a fixed number of trials, then we have a binomial setting. If you want.
Copyright © Cengage Learning. All rights reserved. 3 Discrete Random Variables and Probability Distributions.
Now it’s time to look at…
ICS 253: Discrete Structures I
Ch3.5 Hypergeometric Distribution
The hypergeometric and negative binomial distributions
Discrete Random Variables and Probability Distributions
Random Variables.
Engineering Probability and Statistics - SE-205 -Chap 3
Conditional Probability
The Bernoulli distribution
Discrete Probability Chapter 7 With Question/Answer Animations
Simple Random Sample A simple random sample (SRS) of size n consists of n elements from the population chosen in such a way that every set of n elements.
PROBABILITY AND STATISTICS
The Binomial and Geometric Distributions
Chapter 5: Some Discrete Probability Distributions:
Some Discrete Probability Distributions
Now it’s time to look at…
Random Variables Binomial and Hypergeometric Probabilities
Chapter 11 Probability.
Presentation transcript:

The Bernoulli distribution Discrete distributions

The Binomial distribution p(x)p(x) x X = the number of successes in n repetitions of a Bernoulli trial p = the probability of success

The Poisson distribution Events are occurring randomly and uniformly in time. X = the number of events occuring in a fixed period of time.

The Geometric Distribution The Negative Binomial Distribution The Binomial distribution, the Geometric distribution and the Negative Binomial distribution each arise when repeating independently Bernoulli trials The Binomial distribution the Bernoulli trials are repeated independently a fixed number of times n and X = the numbers of successes The Negative Binomial distribution the Bernoulli trials are repeated independently until a fixed number, k, of successes has occurred and X = the trial on which the k th success occurred. The Geometric distribution the Bernoulli trials are repeated independently the first success occurs (,k = 1) and X = the trial on which the 1 st success occurred.

The Geometric distribution Suppose a Bernoulli trial (S,F) is repeated until a success occurs. Let X = the trial on which the first success (S) occurs. Find the probability distribution of X. Note: the possible values of X are {1, 2, 3, 4, 5, … } The sample space for the experiment (repeating a Bernoulli trial until a success occurs is: S = {S, FS, FFS, FFFS, FFFFS, …, FFF…FFFS, …} p(x) =P[X = x] = P[{FFF…FFFS}] = (1 – p) x – 1 p (x – 1) F’s

Thus the probability function of X is: P[X = x] = p(x) = p(1 – p) x – 1 = pq x – 1 A random variable X that has this distribution is said to have the Geometric distribution. Reason p(1) = p, p(2) = pq, p(3) = pq 2, p(4) = pq 3, … forms a geometric series

Example Suppose a die is rolled until a six occurs Success = S = {six}, p = 1 / 6. Failure = F = {no six} q = 1 – p = 5 / 6. 1.What is the probability that it took at most 5 rolls of a die to roll a six? 2.What is the probability that it took at least 10 rolls of a die to roll a six? 3.What is the probability that the “first six” occurred on an even number toss? 4.What is the probability that the “first six” occurred on a toss divisible by 3 given that the “first six” occurred on an even number toss?

Solution Let X denote the toss on which the first head occurs. Then X has a geometric distribution with p = 1 / 6.. q = 1 – p = 5 / P[X ≤ 5]? 2. P[X ≥ 10]? 3. P[X is divisible by 2]? 4. P[X is divisible by 3| X is divisible by 2]?

1. P[X ≤ 5]? Using Note also

2. P[X ≥ 10]? Using

3. P[X is divisible by 2]?

4. P[X is divisible by 3| X is divisible by 2]?

Hence

The Negative Binomial distribution Suppose a Bernoulli trial (S,F) is repeated until k successes occur. Let X = the trial on which the k th success (S) occurs. Find the probability distribution of X. Note: the possible values of X are {k, k + 1, k + 2, k + 3, 4, 5, … } The sample space for the experiment (repeating a Bernoulli trial until k successes occurs) consists of sequences of S’s and F’s having the following properties: 1.each sequence will contain k S’s 2.The last outcome in the sequence will be an S.

SFSFSFFFFS FFFSF … FFFFFFS A sequence of length x containing exactly k S’s The last outcome is an S The # of S’s in the first x – 1 trials is k – 1. The # of ways of choosing from the first x – 1 trials, the positions for the first k – 1 S’s. The probability of a sequence containing k S’s and x – k F’s.

Example Suppose the chance of winning any prize in a lottery is 3%. Suppose that I play the lottery until I have won k = 5 times. Let X denote the number of times that I play the lottery. Find the probability function, p(x), of X

Graph of p(x)

The Hypergeometric distribution Suppose we have a population containing N objects. Suppose the elements of the population are partitioned into two groups. Let a = the number of elements in group A and let b = the number of elements in the other group (group B). Note N = a + b. Now suppose that n elements are selected from the population at random. Let X denote the elements from group A. (n – X will be the number of elements from group B.) Find the probability distribution of X.\

Population Group A (a elements) GroupB (b elements) sample (n elements) x n - x

Thus the probability function of X is: A random variable X that has this distribution is said to have the Hypergeometric distribution. The total number of ways n elements can be chosen from N = a + b elements The number of ways n - x elements can be chosen Group B. The number of ways x elements can be chosen Group A. The possible values of X are integer values that range from max(0,n – b) to min(n,a)

Suppose that N (unknown) is the size of a wildlife population. To estimate N, T animals are caught, tagged and replaced in the population. (T is known) A second sample of n animals are caught and the number, t, of tagged animals is noted. (n is known and t is the observation that will be used to estimate N). Example: Estimating the size of a wildlife population

Note The observation, t, will have a hypergeometric distribution

To determine when is maximized compute and determine when the ratio is greater than 1 and less than 1.

Now

if or and

henceif andif alsoif

Thus