Chapter 7 Random Variables and Discrete Distributions.

Slides:



Advertisements
Similar presentations
Discrete Distributions
Advertisements

Chapter 7 Special Discrete Distributions. Binomial Distribution B(n,p) Each trial results in one of two mutually exclusive outcomes. (success/failure)
Chapter 7 Discrete Distributions. Random Variable - A numerical variable whose value depends on the outcome of a chance experiment.
1 Set #3: Discrete Probability Functions Define: Random Variable – numerical measure of the outcome of a probability experiment Value determined by chance.
Linear Transformation and Statistical Estimation and the Law of Large Numbers Target Goal: I can describe the effects of transforming a random variable.
Section 5.1 Random Variables
Ka-fu Wong © 2003 Chap 6- 1 Dr. Ka-fu Wong ECON1003 Analysis of Economic Data.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide
The Binomial Distribution
The Binomial Probability
Statistics Alan D. Smith.
Irwin/McGraw-Hill © The McGraw-Hill Companies, Inc., 2000 LIND MASON MARCHAL 1-1 Chapter Five Discrete Probability Distributions GOALS When you have completed.
Discrete Probability Distributions
Discrete Probability Distributions
The Binomial Distribution
Binomial Distributions
Chapter Six Discrete Probability Distributions
Chapter Four Discrete Probability Distributions 4.1 Probability Distributions.
McGraw-Hill/IrwinCopyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Chapter 4 and 5 Probability and Discrete Random Variables.
6- 1 Chapter Six McGraw-Hill/Irwin © 2005 The McGraw-Hill Companies, Inc., All Rights Reserved.
Chapter 7 Special Discrete Distributions. Binomial Distribution B(n,p) Each trial results in one of two mutually exclusive outcomes. (success/failure)
Random Variables and Probability Distributions
©The McGraw-Hill Companies, Inc. 2008McGraw-Hill/Irwin Probability Distributions Chapter 6.
©The McGraw-Hill Companies, Inc. 2008McGraw-Hill/Irwin Probability Distributions Chapter 6.
Chapter Discrete Probability Distributions © 2010 Pearson Prentice Hall. All rights reserved 3 6.
Chapter 7 Please pick up an assignment sheet and notes packet.
The mean of a set of observations is their ordinary average, whereas the mean of a random variable X is an average of the possible values of X The mean.
Chapter 7 Lesson 7.5 Random Variables and Probability Distributions
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 and Probability Models
DISCRETE PROBABILITY DISTRIBUTIONS
Section 6.2 The Binomial Probability Distribution
Copyright (C) 2002 Houghton Mifflin Company. All rights reserved. 1 Understandable Statistics Seventh Edition By Brase and Brase Prepared by: Mistah Flynn.
Discrete Distributions. Random Variable - A numerical variable whose value depends on the outcome of a chance experiment.
Chapter 7 Special Discrete Distributions. Binomial Distribution Each trial has two mutually exclusive possible outcomes: success/failure Fixed number.
Chapter Discrete Probability Distributions © 2010 Pearson Prentice Hall. All rights reserved 3 6.
AP Statistics Monday, 30 November 2015 OBJECTIVE TSW begin the study of discrete distributions. EVERYONE needs a calculator. The tests are graded.
Chapter 5 Discrete Random Variables Probability Distributions
Special Discrete Distributions: Geometric Distributions.
Chapter 7 Lesson 7.2 Random Variables and Probability Distributions 7.2 Probability Distributions for Discrete Random Variables.
Chapter 7 Special Discrete Distributions. Binomial Distribution B(n,p) Each trial results in one of two mutually exclusive outcomes. (success/failure)
6.3 Binomial and Geometric Random Variables
Special Discrete Distributions. Bernoulli Trials The basis for the probability models we will examine in this chapter is the Bernoulli trial. We have.
Probability Distributions. Constructing a Probability Distribution Definition: Consists of the values a random variable can assume and the corresponding.
Chapter 7 Lesson 7.4a Random Variables and Probability Distributions 7.4: Mean and Standard Deviation of a Random Variable.
©The McGraw-Hill Companies, Inc. 2008McGraw-Hill/Irwin Probability Distributions Chapter 6.
Discrete Distributions
Random Variables and Probability Distributions
Binomial Distributions
Chapter Six McGraw-Hill/Irwin
Chapter 7 Lesson 7.5 Random Variables and Probability Distributions
Chapter 5 Created by Bethany Stubbe and Stephan Kogitz.
Special Discrete Distributions
Discrete Probability Distributions
Special Discrete Distributions
Discrete Probability Distributions
Discrete Distributions
Discrete Probability Distributions
Discrete Probability Distributions
Special Discrete Distributions
Special Discrete Distributions
Discrete Probability Distributions
Chapter 16.
Discrete Distributions
Discrete Distributions
Discrete Distributions
Discrete Distributions.
Discrete Distributions
Special Discrete Distributions
Presentation transcript:

Chapter 7 Random Variables and Discrete Distributions

Random Variable - A numerical variable whose value depends on the outcome of a chance experiment Associates a numerical value with each outcome of a chance experiment Two types of random variables –Discrete –Continuous A grocery store manager might be interested in the number of broken eggs in each carton (dozen of eggs). OR An environmental scientist might be interested in the amount of ozone in an air sample. Since these values change and are subject to some uncertainty, these are examples of random variables.

Two Types of Random Variables: Discrete – its set of possible values is a collection of isolated points along a number line Continuous - its set of possible values includes an entire interval on a number line This is typically a “count” of something This is typically a “measure” of something In this chapter, we will look at different distributions of discrete and continuous random variables.

Suppose yearly bonuses for employees of a small business are given below. $200 $400 $300 $100 $500 Find  and .  = $300,  = $ Suppose that each bonus was increased by $200. Find  and .  = $500,  = $ Suppose that each of the original bonuses were doubled. Find  and .  = $600,  = $282.84

Mean and Standard Deviation of Linear functions If x is a random variable with mean,  x, and standard deviation,  x, and a and b are numerical constants, then the random variable y is defined by and

Consider the chance experiment in which a customer of a propane gas company is randomly selected. Let x be the number of gallons required to fill a propane tank. Suppose that the mean and standard deviation is 318 gallons and 42 gallons, respectively. The company is considering the pricing model of a service charge of $50 plus $1.80 per gallon. Let y be the random variable of the amount billed. What is the equation for y? What is the mean and standard deviation for the amount billed?  y = (318) = $ y = x  y = 1.8(42) = $75.60

Suppose we are going to play a game called Stat Land! Players spin the two spinners below and move the sum of the two numbers.  A = 2.5  B = 3.5  A =  B = List all the possible sums (A + B) ? Move 1  Spinner A Spinner B Find the mean and standard deviation for each spinner. Find the mean and standard deviation for these sums.  A+B = 6  A+B =2.041 Notice that the mean of the sums is the sum of the means! How are the standard deviations related? Not sure – let’s think about it and return in just a few minutes!

Stat Land Continued... Suppose one variation of the game had players move the difference of the spinners  A = 2.5  B = 3.5  A =  B = List all the possible differences (B - A) ? Move 1  Spinner A Spinner B Find the mean and standard deviation for these difference.  B-A = 1  B-A =2.041 Notice that the mean of the differences is the difference of the means! WOW – this is the same value as the standard deviation of the sums! How do we find the standard deviation for the sums or differences?

The Additive Rule The expected value of the sum (or difference) of random variables is the sum (or difference) to their expected values. If the random variables are independent, the variance of their sum or difference is always the sum of the variances.

A commuter airline flies small planes between San Luis Obispo and San Francisco. For small planes the baggage weight is a concern. Suppose it is known that the variable x = weight (in pounds) of baggage checked by a randomly selected passenger has a mean and standard deviation of 42 and 16, respectively. Consider a flight on which 10 passengers, all traveling alone, are flying. The total weight of checked baggage, y, is y = x 1 + x 2 + … + x 10

Airline Problem Continued...  x = 42 and  x = 16 The total weight of checked baggage, y, is y = x 1 + x 2 + … + x 10 What is the mean total weight of the checked baggage?  x =  1 +  2 + … +  10 = … + 42 = 420 pounds

Airline Problem Continued...  x = 42 and  x = 16 The total weight of checked baggage, y, is y = x 1 + x 2 + … + x 10 What is the standard deviation of the total weight of the checked baggage?  x 2 =  x1 2 +  x2 2 + … +  x10 2 = … = 2560 pounds  = pounds Since the 10 passengers are all traveling alone, it is reasonable to think that the 10 baggage weights are unrelated and therefore independent. To find the standard deviation, take the square root of this value.

Probability Distributions for Discrete Random Variables Probability distribution is a model that describes the long- run behavior of a variable.

In Wolf City (a fictional place), regulations prohibit no more than five dogs or cats per household. Let x = the number of dogs or cats per household in Wolf City x x P(x) Is this variable discrete or continuous? What are the possible values for x? The Department of Animal Control has collected data over the course of several years. They have estimated the long-run probabilities for the values of x. What do you notice about the sum of these probabilities?

Dogs and Cats Revisited... Let x = the number of dogs or cats per household in Wolf City x P(x) What is the probability that a randomly selected household in Wolf City has at most 2 pets? What does this mean? P(x < 2) = Just add the probabilities for 0, 1, and =.78

Dogs and Cats Revisited... Let x = the number of dogs or cats per household in Wolf City x P(x) What is the probability that a randomly selected household in Wolf City has less than 2 pets? What does this mean? P(x < 2) = Notice that this probability does NOT include 2! =.57

Dogs and Cats Revisited... Let x = the number of dogs or cats per household in Wolf City x P(x) What is the probability that a randomly selected household in Wolf City has more than 1 but no more than 4 pets? What does this mean? P(1 < x < 4) = =.40 When calculating probabilities for discrete random variables, you MUST pay close attention to whether certain values are included ( ) or not included ( ) in the calculation.

Means and Standard Deviations of Probability Distributions The mean value of a random variable x, denoted by  x, describes where the probability distribution of x is centered. The standard deviation of a random variable x, denoted by  x, describes variability in the probability distribution

Mean and Variance for Discrete Probability Distributions Mean is sometimes referred to as the expected value (denoted E(x)). Variance is calculated using Standard deviation is the square root of the variance.

 x = 1.51 pets Dogs and Cats Revisited... Let x = the number of dogs or cats per household in Wolf City x P(x) What is the mean number of pets per household in Wolf City? First multiply each x-value times its corresponding probability. x(p) Next find the sum of these values. x(p)

 x 2 = (0-1.51) 2 (.26) + (1-1.51) 2 (.31) + (2-1.51) 2 (.21) + (3-1.51) 2 (.13) + (4-1.51) 2 (.06) + (5-1.51) 2 (.03) = Dogs and Cats Revisited... Let x = the number of dogs or cats per household in Wolf City x P(x) What is the standard deviation of the number of pets per household in Wolf City? First find the deviation of each x- value from the mean. Then square these deviations. Next multiply by the corresponding probability. Then add these values. This is the variance – take the square root of this value.  x = pets

Here’s a game: If a player rolls two dice and gets a sum of 2 or 12, he wins $20. If he gets a 7, he wins $5. The cost to roll the dice one time is $3. Is this game fair? A fair game is one where the cost to play EQUALS the expected value! X0520 P(X)7/91/61/18 NO, since  = $1.944 which is less than it cost to play ($3).

Special Distributions Two Discrete Distributions: Binomial and Geometric

Properties of Geometric Distributions: There are two mutually exclusive outcomes that result in a success or failure A geometric random variable x is defined as the number of trials UNTIL the FIRST success is observed ( including the success). x1234 So what are the possible values of x, a geometric random variable...

Probability Formula for the Geometric Distribution Let p = constant probability that any trial results in a success

Suppose that 405 of students who drive to campus at your school or university carry jumper cables. Your car has a dead battery and you don’t have jumper cables, so you decide to stop students as they are headed to the parking lot and ask them whether they have a pair of jumper cables. Let x = the number of students stopped before finding one with a pair of jumper cables Is this a geometric distribution? Yes

Jumper Cables Continued... Let x = the number of students stopped before finding one with a pair of jumper cables p =.4 What is the probability that third student stopped will be the first student to have jumper cables? What is the probability that at most three student are stopped before finding one with jumper cables? P(x = 3) =(.6) 2 (.4) =.144 P(x < 3) = P(1) + P(2) + P(3) = (.6) 0 (.4) + (.6) 1 (.4) + (.6) 2 (.4) =.784

A real estate agent shows a house to prospective buyers. The probability that the house will be sold to the person is 35%. What is the probability that the agent will sell the house to the third person she shows it to? How many prospective buyers does she expect to show the house to before someone buys the house? SD?

Properties of a Binomial Experiment 1.Each trial results in one of two mutually exclusive outcomes. (success/failure) 2.There are a fixed number of trials The binomial random variable x is defined as the number of successes observed when a binomial experiment is performed We use n to denote the fixed number of trials.

Binomial Probability Formula: Let n = number of trials p = probability of success (q = 1 – p (probability of failure)) X = number of successes in n trials

Instead of recording the gender of the next 25 newborns at a particular hospital, let’s record the gender of the next 5 newborns at this hospital. Is this a binomial experiment? Yes, if the births were not multiple births (twins, etc). Define the random variable of interest. x = the number of females born out of the next 5 births What are the possible values of x? x012345x Will a binomial random variable always include the value of 0? What is the probability of “success”? What will the largest value of the binomial random value be?

Newborns Continued... What is the probability that exactly 2 girls will be born out of the next 5 births? What is the probability that less than 2 girls will be born out of the next 5 births?

Newborns Continued... How many girls would you expect in the next five births at a particular hospital? What is the standard deviation of the number of girls born in the next five births?

In a certain county, 30% of the voters are Republicans. If ten voters are selected at random, find the probability that no more than six of them will be Republicans. B(10,.3) P(x < 6) = binomcdf(10,.3,6) =.9894 not What is the probability that at least 7 are not Republicans? P(x > 7) = 1 - binomcdf(10,.7,6) =.6496

In a certain county, 30% of the voters are Republicans. How many Republicans would you expect in ten randomly selected voters? What is the standard deviation for this distribution?

In a certain county, 30% of the voters are Republicans. What is the probability that the number of Republicans out of 10 is within 1 standard deviation of the mean? B(10,.3) P(1.55 < x < 4.45) = binomcdf(10,.3,4) – binomcdf(10,.3,1) =.7004