Chapter 16 Random Variables

Slides:



Advertisements
Similar presentations
Copyright © 2010 Pearson Education, Inc. Slide
Advertisements

Chapter 16: Random Variables
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Chapter 16 Random Variables.
Chapter 16 Random Variables
Copyright © 2006 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide
Random Variables.  A random variable assumes a value based on the outcome of a random event. ◦ We use a capital letter, like X, to denote a random variable.
Copyright © 2010 Pearson Education, Inc. Chapter 16 Random Variables.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide
Copyright © 2009 Pearson Education, Inc. Chapter 16 Random Variables.
1-1 Copyright © 2015, 2010, 2007 Pearson Education, Inc. Chapter 15, Slide 1 Chapter 15 Random Variables.
Chapter 16 Random Variables
Chapter 16: Random Variables
Copyright © 2010 Pearson Education, Inc. Slide
Application of Random Variables
1 Chapter 16 Random Variables Random Variables and Expected Value.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 16 Random Variables.
Copyright © 2010 Pearson Education, Inc. Chapter 16 Random Variables.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Chapter 16 Random Variables.
1 Chapter 16 Random Variables. 2 Expected Value: Center A random variable assumes a value based on the outcome of a random event.  We use a capital letter,
Random Variables Chapter 16.
Random Variables and Probability Models
Chapter 16 Random Variables
Chapter 16 Random Variables.
Copyright © 2010 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Chapter 5 Discrete Random Variables.
Chapter 16: Random Variables
Chapter 16 Random Variables Random Variable Variable that assumes any of several different values as a result of some random event. Denoted by X Discrete.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Chapter 16 Random Variables.
Slide 16-1 Copyright © 2004 Pearson Education, Inc.
Chapter 16 Probability Models. Who Wants to Play?? $5 to play You draw a card: – if you get an Ace of Hearts, I pay you $100 – if you get any other Ace,
Random Variables Chapter 16.
STA 2023 Module 5 Discrete Random Variables. Rev.F082 Learning Objectives Upon completing this module, you should be able to: 1.Determine the probability.
1-1 Copyright © 2015, 2010, 2007 Pearson Education, Inc. Chapter 15, Slide 1 Chapter 16 Random Variables.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 16 Random Variables.
Chapter 15 Random Variables. Introduction Insurance companies make bets. They bet that you are going to live a long life. You bet that you are going to.
Copyright © 2010 Pearson Education, Inc. Chapter 16 Random Variables.
Statistics 16 Random Variables. Expected Value: Center A random variable assumes a value based on the outcome of a random event. –We use a capital letter,
Honors Stats 4 Day 9 Chapter 16. Do Now Check Your Homework Homework: Chapter 16 p. 382 #1, 2, 4, 5, 6, 17, 18 Objective: SWBAT understand and calculate.
Chapter 16 Random Variables math2200. Life insurance A life insurance policy: –Pay $10,000 when the client dies –Pay $5,000 if the client is permanently.
Copyright © 2009 Pearson Education, Inc. Chapter 16 Random Variables.
Chapter 15 Random Variables.
You Bet Your Life - So to Speak
Random Variables/ Probability Models
Variability.
Chapter 15 Random Variables
Honors Stats 4 Day 10 Chapter 16.
Discrete Probability Distributions
Chapter 16 Random Variables.
Chapter 6: Random Variables
Although winning the Texas Lottery Jackpot is a very unlikely event, there are still other prizes you can win. What is the Expected winnings on a $1 bet?
Discrete Probability Distributions
Discrete Distributions
Random Variables and Probability Models
Chapter 16 Random Variables
Stats 4 Day 20b.
Chapter 16 Random Variables
Chapter 5 Sampling Distributions
Chapter 16 Random Variables.
Chapter 15 Random Variables.
Discrete Probability Distributions
Means and Variances of Random Variables
Variability.
Chapter 16 Random Variables Copyright © 2009 Pearson Education, Inc.
Chapter 16 Random Variables Copyright © 2009 Pearson Education, Inc.
AP Statistics Chapter 16 Notes.
Chapter 16 Random Variables Copyright © 2009 Pearson Education, Inc.
Discrete Distributions
Combining Random Variables
Chapter 16 Random Variables Copyright © 2010 Pearson Education, Inc.
Presentation transcript:

Chapter 16 Random Variables Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley

Expected Value: Center A random variable assumes a value based on the outcome of a random event. We use a capital letter, like X, to denote a random variable. A particular value of a random variable will be denoted with a lower case letter, in this case x.

Expected Value: Center (cont.) There are two types of random variables: Discrete random variables can take one of a finite number of distinct outcomes. Example: Number of credit hours Continuous random variables can take any numeric value within a range of values. Example: Cost of books this term

Expected Value: Center (cont.) A probability model for a random variable consists of: The collection of all possible values of a random variable, and the probabilities that the values occur. Of particular interest is the value we expect a random variable to take on, notated μ (for population mean) or E(X) for expected value.

Greedy Pig All students stand up. I will roll a die. Each student will get the number of points on the die. Students then may choose to keep their points by sitting down, or remain standing for another roll. With each roll, points accumulate for those who choose to remain standing. BUT…if I roll a 5, all those still standing lose their points, ending the round with a score of 0. Let’s play a couple of practice rounds. What strategy were you using? (There is an optimal strategy.)

Let’s Play a Game!! A player will pay me $5 and then draw a card from a deck. If you draw the ace of hearts, I will pay you $100. For any other ace, I will pay you $10, and for any other heart, I will pay you $5. If you draw anything else, you lose. Who wants to play? Would you play for a top prize of $200?

Expected Value: Center (cont.) The expected value of a (discrete) random variable can be found by summing the products of each possible value by the probability that it occurs: Note: Be sure that every possible outcome is included in the sum and verify that you have a valid probability model to start with.

Example 1: Expected Value Given: x 2 4 6 8 P(X=x) .3 .4 .2 .1 Find the expected value of the random variable.

Example 1 continued…. We know that: μ = E(X) = ΣxP(x) = 2P(2) + 4P(4) + 6P(6) + 8P(8) =2(.3) + 4(.4) + 6(.2) + 8(.1) =4.2

Example 2: Finding Probability Models For an insurance company, x (particular value of a random variable) is $10,000 if you die that year, $5,000 if you are disabled, or $0 if neither occurs. Suppose that the death rate in any year is 1 out of every 1000 people, and that another 2 out of 1000 suffer some kind of disability. We can display the probability model for this insurance policy in a table like this: Policy Holder Outcome Payout x Probability P(X=x) Death 10,000 1/1000 Disability 5,000 2/1000 neither 997/1000

Example 2 continued… If we insure exactly 1000 people, find the following. What is the expected value of total payout for the year? What is the payout per policy? If we charge a $50 premium for a policy, how much money would we expect to make?

Example 2 continued… If we insure exactly 1000 people, find the following. What is the total payout? We expect to pay out 10,000 + 2(5000) = $20,000 What is the expected payout per policy?(like the average) If we charge a $50 premium for a policy, how much money would we expect to make? Charge: 1,000($50) = $50,000 Payout: $20,000 Net Profit: $30,000

Example 3: Car Repairs Buck took his minivan in for repair recently because the air conditioner was cutting out intermittently. The mechanic identified the problem as dirt in the control unit. He said that in about 75% of such cases, drawing down and then recharging the coolant a couple times cleans up the problem – and costs only $60. If that fails, then the control unit must be replaced at an additional cost of $100 for parts and $40 for labor. Define the random variable and construct the probability model. What is the expected value of the cost of this repair? What does this mean in context?

Example 3 continued… 1. 2. μ=E(X)=60(.75) + 200(.25) = $95 3. Car owners with this problem will spend an average of $95 to get it fixed. Outcome X=cost Probability Recharging works $60 0.75 Replace control unit $200 0.25

First Center, Now Spread… For data, we calculated the standard deviation by first computing the deviation from the mean and squaring it. We do that with random variables as well. The variance for a random variable is: The standard deviation for a random variable is:

More About Means and Variances Adding or subtracting a constant from data shifts the mean but doesn’t change the variance or standard deviation: E(X ± c) = E(X) ± c Var(X ± c) = Var(X) Example: Consider everyone in a company receiving a $5000 increase in salary.

More About Means and Variances (cont.) In general, multiplying each value of a random variable by a constant multiplies the mean by that constant and the variance by the square of the constant: E(aX) = aE(X) Var(aX) = a2Var(X) SD(aX) = aSD(X) Example: Consider everyone in a company receiving a 10% increase in salary.

More About Means and Variances (cont.) In general, The mean of the sum of two random variables is the sum of the means. The mean of the difference of two random variables is the difference of the means. E(X ± Y) = E(X) ± E(Y) If the random variables are independent, the variance of their sum or difference is always the sum of the variances. Var(X ± Y) = Var(X) + Var(Y) If the random variables are independent, the standard deviation of their sum or difference is always the square root of the squares of the standard deviations. Pythagorean Theorem of Statistics!

Using Transformation Rules Given independent random variables with means and standard deviations as shown, find the mean and standard deviation of each of these variables. .8Y 2X-100 X+2Y 3X-Y Y1+Y2   Mean SD X 120 12 Y 300 16

Example A casino knows that people play the slot machine in hopes of hitting the jackpot, but that most of them lose their dollar. Suppose a certain machine pays out an average of $0.92 with a standard deviation of $120. Why is the standard deviation so large? If you play 5 times, what are the mean and standard deviation of the casino’s profit? If gamblers play this machine 1000 times in a day, what are the mean and standard deviation of the casino’s profit? Do you think the casino is likely to be profitable? Explain.

Car Dealer Example Suppose a used car dealer runs autos through a two-stage process to get them ready to sell. The mechanical checkup costs $50 per hour and takes an average of 1.5 hours, with a standard deviation of .25 hours. The appearance prep (wash, polish, etc) costs $6 per hour and takes an average of 1 hour, with a standard deviation of .083 hours. What are the mean and standard deviation of the total time spent preparing a car? What are the mean and standard deviation of the total expense to prepare a car? What are the mean and standard deviation of the difference in costs for the two phases of the operation?

Answers What are the mean and standard deviation of the total time spent preparing a car? E(T)=2.5 hours SD(T)=.263 hours What are the mean and standard deviation of the total expense to prepare a car? E(T)=$81 SD(T)=$12.51 What are the mean and standard deviation of the difference in costs for the two phases of the operation? E(T)=$69 SD(T)=$12.51

Continuous Random Variables (cont.) When two independent continuous random variables have Normal models, so does their sum or difference. This fact will let us apply our knowledge of Normal probabilities to questions about the sum or difference of independent random variables.

Car Dealers continued… What is the probability that it will take longer than 2.7 hours to do the appearance prep and the mechanical check-up? Both phases of the process can be described by a Normal model. E(T) =E(M) + E(A) = 1.5 + 1 = 2.5 hours SD(D) = .263 hours (WHY?) Normal model……

Car Dealers continued… What is the probability that it will take longer to do the appearance prep than the mechanical check-up? Both phases of the process can be described by a Normal model. **If the difference in the prep times is less than 0, it means the appearance prep took longer. E(D) =E(M) – E(A) = 1.5 – 1 = .5 hours SD(D) = .263 hours (WHY?) Normal model……

Example 7: Packaging Stereos Consider a company that manufactures and ships small stereo systems that were discussed in Chapter 16 of the book. The times required to pack the stereos can be described by a Normal model with a mean of 9 minutes and standard deviation of 1.5 minutes. The times for the boxing stage can also be modeled as Normal, with a mean of 6 minutes and standard deviation of 1 minute. What is the probability that packing and boxing a system takes over 20 minutes? What is the probability that packing and boxing a system takes between 12 and 17 minutes? What percentage of the stereo systems take longer to pack than to box?