Random Variables and Probability Models

Slides:



Advertisements
Similar presentations
DISCRETE RANDOM VARIABLES AND PROBABILITY DISTRIBUTIONS
Advertisements

Acknowledgement: Thanks to Professor Pagano
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.
Probability Distributions
Copyright © 2009 Pearson Education, Inc. Chapter 16 Random Variables.
Discrete Probability Distributions
Copyright © 2014 by McGraw-Hill Higher Education. All rights reserved.
1-1 Copyright © 2015, 2010, 2007 Pearson Education, Inc. Chapter 15, Slide 1 Chapter 15 Random Variables.
Chapter 16: Random Variables
Chapter 21 Random Variables Discrete: Bernoulli, Binomial, Geometric, Poisson Continuous: Uniform, Exponential, Gamma, Normal Expectation & Variance, Joint.
Copyright © 2010 Pearson Education, Inc. Slide
McGraw-Hill/IrwinCopyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Chapter 4 and 5 Probability and Discrete Random Variables.
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Discrete Random Variables Chapter 4.
Copyright © 2011 Pearson Education, Inc. Probability Models for Counts Chapter 11.
Chapter 6: Probability Distributions
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.
McGraw-Hill/Irwin Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved.
Chapter 17 Probability Models math2200. I don’t care about my [free throw shooting] percentages. I keep telling everyone that I make them when they count.
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. 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
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.
Copyright © 2009 Pearson Education, Inc. Chapter 17 Probability Models.
McGraw-Hill/IrwinCopyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Chapter 5 Discrete Random Variables.
Copyright © 2014, 2011 Pearson Education, Inc. 1 Chapter 11 Probability Models for Counts.
King Saud University Women Students
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.
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.
1 7.3 RANDOM VARIABLES When the variables in question are quantitative, they are known as random variables. A random variable, X, is a quantitative variable.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 16 Random Variables.
Copyright © 2011 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Chapter 5 Discrete 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.
Slide 17-1 Copyright © 2004 Pearson Education, Inc.
Copyright © 2010 Pearson Education, Inc. Chapter 17 Probability Models.
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,
Copyright (C) 2002 Houghton Mifflin Company. All rights reserved. 1 Understandable Statistics Seventh Edition By Brase and Brase Prepared by: Lynn Smith.
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.
Chapter Five The Binomial Probability Distribution and Related Topics
Chapter 15 Random Variables.
Chapter 16 Random Variables
Chapter 17 Probability Models Copyright © 2010 Pearson Education, Inc.
Discrete Random Variables
Random variables (r.v.) Random variable
Random Variables/ Probability Models
Discrete Random Variables
Chapter 15 Random Variables
Chapter 16 Random Variables.
Probability Models for Counts
Chapter 16 Random Variables
Chapter 16 Random Variables
Statistical Inference for Managers
Chapter 17 Probability Models Copyright © 2010 Pearson Education, Inc.
Chapter 16 Random Variables.
Chapter 15 Random Variables.
3.4 The Binomial Distribution
Chapter 16 Random Variables Copyright © 2009 Pearson Education, Inc.
Chapter 16 Random Variables Copyright © 2009 Pearson Education, Inc.
Chapter 16 Random Variables Copyright © 2009 Pearson Education, Inc.
Chapter 16 Random Variables Copyright © 2010 Pearson Education, Inc.
Presentation transcript:

Random Variables and Probability Models Lecture 8 Random Variables and Probability Models Copyright © 2012 Pearson Education. All rights reserved.

Expected Value of a Random Variable QTM1310/ Sharpe Expected Value of a Random Variable A variable whose value is based on the outcome of a random event is called a random variable. If we can list all possible outcomes, the random variable is called a discrete random variable. If a random variable can take on any value between two values, it is called a continuous random variable.

Expected Value of a Random Variable QTM1310/ Sharpe Expected Value of a Random Variable For both discrete and continuous random variables, the set of all the possible values and their associated probabilities is called the probability model. When the probability model is known, then the expected value can be calculated: (discrete random variable) is sometimes written as , but not 3

Expected Value of a Random Variable QTM1310/ Sharpe Expected Value of a Random Variable The probability model for a particular life insurance policy is shown. Find the expected annual payout on a policy. We expect that the insurance company will pay out $200 per policy per year. 4

Standard Deviation of a Random Variable QTM1310/ Sharpe Standard Deviation of a Random Variable Standard Deviation of a discrete random variable: 5

Standard Deviation of a Random Variable QTM1310/ Sharpe Standard Deviation of a Random Variable The probability model for a particular life insurance policy is shown. Find the standard deviation of the annual payout. 6

Standard Deviation of a Random Variable QTM1310/ Sharpe Standard Deviation of a Random Variable Example: Book Store Purchases Suppose the probabilities of a customer purchasing 0, 1, or 2 books at a book store are 0.2, 0.4 and 0.4 respectively. What is the expected number of books a customer will purchase? What is the standard deviation of the book purchases? 7

Standard Deviation of a Random Variable QTM1310/ Sharpe Standard Deviation of a Random Variable Example: Book Store Purchases Suppose the probabilities of a customer purchasing 0, 1, or 2 books at a book store are 0.2, 0.4 and 0.4 respectively. What is the expected number of books a customer will purchase? What is the standard deviation of the book purchases? 8

Properties of Expected Values and Variances QTM1310/ Sharpe Properties of Expected Values and Variances Adding a constant c to X: Multiplying X by a constant a: 9

Properties of Expected Values and Variances QTM1310/ Sharpe Properties of Expected Values and Variances Addition Rule for Expected Values of Random Variables Addition Rule for Variances of (independent) Random Variables 10

8.3 Properties of Expected Values and Variances QTM1310/ Sharpe 8.3 Properties of Expected Values and Variances The expected annual payout per insurance policy is $200 and the variance is $14,960,000. If the payout amounts are doubled, what are the new expected value and variance? Compare this to the expected value and variance on two independent policies at the original payout amount. Note: The expected values are the same but the variances are different. 11

8.4 Discrete Probability Models QTM1310/ Sharpe 8.4 Discrete Probability Models The Uniform Model If X is a random variable with possible outcomes 1, 2, …, n and for each i, then we say X has a discrete Uniform distribution U[1, …, n]. When tossing a fair die, each number is equally likely to occur. So tossing a fair die is described by the Uniform model U[1, 2, 3, 4, 5, 6], with 12

8.4 Discrete Probability Models QTM1310/ Sharpe 8.4 Discrete Probability Models Bernoulli Trials Definition: A Bernoulli Trial is a trial with the following characteristics: There are only two possible outcomes (success and failure) for each trial. The probability of success, denoted p, is the same for each trial. The probability of failure is q = 1 – p. The trials are independent. The next two probability models apply to experiments with Bernoulli trials. 13

8.4 Discrete Probability Models QTM1310/ Sharpe 8.4 Discrete Probability Models The Geometric Model Predicting the number of Bernoulli trials required to achieve the first success. The 10% Condition: For finite samples, the sample should be no more than 10% of the population. 14

8.4 Discrete Probability Models QTM1310/ Sharpe 8.4 Discrete Probability Models The Geometric Model Find the mean (expected value) of a random variable X, using a geometric distribution with probability of success, p. E(X) = 0q + 1p = p Var(X) = (0 – p)2q + (1 – p)2p = p2q + q2p = pq(p + q) = pq(1) = pq X 1 P(X) q p 15

8.4 Discrete Probability Models QTM1310/ Sharpe 8.4 Discrete Probability Models Independence Bernoulli Trials must be independent. The 10% Condition: From finite populations, the sample should be no more than 10% of the population. 16

8.4 Discrete Probability Models QTM1310/ Sharpe 8.4 Discrete Probability Models The Binomial Model Predicting the number of successes in a fixed number of Bernoulli trials. 17

8.4 Discrete Probability Models QTM1310/ Sharpe 8.4 Discrete Probability Models The Poisson Model Predicting the number of events that occur over a given interval of time or space. The Poisson is a good model to consider whenever the data consist of counts of occurrences. 18

8.4 Discrete Probability Models QTM1310/ Sharpe 8.4 Discrete Probability Models For example, a website averages 4 hits per minute. Find the probability that there will be no hits in the next minute. 19

8.4 Discrete Probability Models QTM1310/ Sharpe 8.4 Discrete Probability Models Example: Closing Sales A salesman normally closes a sale on 80% of his presentations. Assuming the presentations are independent, What model should be used to determine the probability that he closes his first presentation on the fourth attempt? What is the probability he closes his first presentation on the fourth attempt? 20

8.4 Discrete Probability Models QTM1310/ Sharpe 8.4 Discrete Probability Models Example (continued): Closing Sales A salesman normally closes a sale on 80% of his presentations. Assuming the presentations are independent, What model should be used to determine the probability that he closes his first presentation on the fourth attempt? Geometric What is the probability he closes his first presentation on the fourth attempt? 21

8.4 Discrete Probability Models QTM1310/ Sharpe 8.4 Discrete Probability Models Example: Professional Tennis A tennis player makes a successful first serve 67% of the time. Of the first 6 serves of the next match, What model should be used to determine the probability that all 6 first serves will be in bounds? What is the probability that all 6 first serves will be inbounds? How many first serves can be expected to be inbounds? 22

8.4 Discrete Probability Models QTM1310/ Sharpe 8.4 Discrete Probability Models Example (continued): Professional Tennis A tennis player makes a successful first serve 67% of the time. Of the first 6 serves of the next match, What model should be used to determine the probability that all 6 first serves will be in bounds? Binomial What is the probability that all 6 first serves will be inbounds? How many first serves can be expected to be inbounds? E(X) = np = 6(0.67) = 4.02 23

8.4 Discrete Probability Models QTM1310/ Sharpe 8.4 Discrete Probability Models Example: Satisfaction Survey A cable provider wants to contact customers to see if they are satisfied with a new digital TV service. If all customers are in the 452 phone exchange, (so there are 10,000 possible numbers from 452-0000 to 452-9999), What probability model would be used to model the selection of a single number? What is the probability the number selected will be an even number? What is the probability the number selected will end in 000? 24

8.4 Discrete Probability Models QTM1310/ Sharpe 8.4 Discrete Probability Models Example (continued): Satisfaction Survey A cable provider wants to contact customers to see if they are satisfied with a new digital TV service. If all customers are in the 452 phone exchange, (so there are 10,000 possible numbers from 452-0000 to 452-9999), What probability model would be used to model the selection of a single number? Uniform, all numbers are equally likely. What is the probability the number selected will be an even number? 0.5 What is the probability the number selected will end in 000? 0.001 25

8.4 Discrete Probability Models QTM1310/ Sharpe 8.4 Discrete Probability Models Example: Web Visitors A website manager has noticed that during evening hours, about 3 people per minute check out from their online shopping cart and make a purchase. She believes that each purchase is independent of the others. What probability model would be used to model the number of purchases per minute? What is the probability that in any one minute at least one purchase is made? What is the probability that no one makes a purchase in the next 2 minutes? 26

8.4 Discrete Probability Models QTM1310/ Sharpe 8.4 Discrete Probability Models Example (continued): Web Visitors A website manager has noticed that during evening hours, about 3 people per minute check out from their online shopping cart and make a purchase. She believes that each purchase is independent of the others. What probability model would be used to model the number of purchases per minute? The Poisson What is the probability that in any one minute at least one purchase is made? 0.9502 27

8.4 Discrete Probability Models QTM1310/ Sharpe 8.4 Discrete Probability Models Example (continued): Web Visitors A website manager has noticed that during evening hours, about 3 people per minute check out from their online shopping cart and make a purchase. She believes that each purchase is independent of the others. What is the probability that no one makes a purchase in the next 2 minutes? 28

Probability distributions are still just models. QTM1310/ Sharpe Probability distributions are still just models. • If the model is wrong, so is everything else. Watch out for variables that aren’t independent. Don’t write independent instances of a random variable with notation that looks like they are the same variables. 29

• Be sure you have Bernoulli trials. QTM1310/ Sharpe Don’t forget: Variances of independent random variables add. Standard deviations don’t. • Don’t forget: Variances of independent random variables add, even when you’re looking at the difference between them. • Be sure you have Bernoulli trials. 30

QTM1310/ Sharpe What Have We Learned? Understand how probability models relate values to probabilities. • For discrete random variables, probability models assign a probability to each possible outcome. Know how to find the mean, or expected value, of a discrete probability model and the standard deviation. 31

QTM1310/ Sharpe What Have We Learned? Foresee the consequences of shifting and scaling random variables, specifically understand the Law of Large Numbers and that the common understanding of the “Law of Averages” is false. E(X ± c) = E(X) ± c E(aX) = aE(X) Var(X ± c) = Var(X) Var(aX) = a2Var(X) SD(X ± c) = SD(X) SD(aX) = |a|SD(X) 32

QTM1310/ Sharpe What Have We Learned? Understand that when adding or subtracting random variables the expected values add or subtract well: E(X ± Y) = E(X) ± E(Y). However, when adding or subtracting independent random variables, the variances add: Var(X ±Y) = Var(X) + Var(Y) Be able to explain the properties and parameters of the Uniform, the Binomial, the Geometric, and the Poisson distributions. 33