7.2 Means and variances of Random Variables (weighted average) Mean of a sample is X bar, Mean of a probability distribution is μ.

Slides:



Advertisements
Similar presentations
Chapter 7 Random Variables.
Advertisements

AP Statistics Chapter 7 – Random Variables. Random Variables Random Variable – A variable whose value is a numerical outcome of a random phenomenon. Discrete.
Rules for Means and Variances
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.
Business Statistics for Managerial Decision
CHAPTER 13: Binomial Distributions
Chapter 5 Understanding Randomness
Chapter 6 Random Variables
Linear Transformation and Statistical Estimation and the Law of Large Numbers Target Goal: I can describe the effects of transforming a random variable.
4.4 Mean and Variance. Mean How do we compute the mean of a probability distribution? Actually, what does that even mean? Let’s look at an example on.
AP Statistics Section 7.2 B Law of Large Numbers.
Chapter 7.2  Warm Up Do #’s 36,39,42  Homework Due 12/16 th and 12/19 th  # 37,38, 44, 45, 46, 55, 56, 57, 61, 68  POP Mini Quiz Fri/Mon  Review Worksheet.
Application of Random Variables
Section 8.2: Expected Values
Lesson Means and Variances of Random Variables.
Stat 1510: Introducing Probability. Agenda 2  The Idea of Probability  Probability Models  Probability Rules  Finite and Discrete Probability Models.
Chapter 5 Sampling Distributions
P. STATISTICS LESSON 7.2 ( DAY 2)
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.
Probability, contd. Learning Objectives By the end of this lecture, you should be able to: – Describe the difference between discrete random variables.
AP Statistics Section 7.2A Mean & Standard Deviation of a Probability Distribution.
Chapter 7 Random Variables.  Sample spaces are not always numeric (example tossing 4 coins: HTTH, TTTH, etc.)  If we let X = the number of heads, then.
Follow-Up on Yesterday’s last problem. Then we’ll review. Sit in the groups below Brendan and Tim are playing in an MB golf tournament. Their scores vary.
Applied Business Forecasting and Regression Analysis Review lecture 2 Randomness and Probability.
AP Statistics Section 7.2 C Rules for Means & Variances.
Chapter 6 Lecture 3 Sections: 6.4 – 6.5.
Correct Answer: A AP1.14. Boxplots of two data sets are shown.
5.3 Random Variables  Random Variable  Discrete Random Variables  Continuous Random Variables  Normal Distributions as Probability Distributions 1.
AP STATS: Take 10 minutes or so to complete your 7.1C quiz.
7.1 – Discrete and Continuous Random Variables
Special Topics. Mean of a Probability Model The mean of a set of observations is the ordinary average. The mean of a probability model is also an average,
The Practice of Statistics Third Edition Chapter 7: Random Variables Copyright © 2008 by W. H. Freeman & Company Daniel S. Yates.
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 Random Variables.  Sample spaces are not always numeric (example tossing 4 coins: HTTH, TTTH, etc.)  If we let X = the number of heads, then.
Means and Variances of Random Variables. Activity 1 : means of random Variables To see how means of random variables work, consider a random variable.
7.2 Means and Variances of Random Variables.  Calculate the mean and standard deviation of random variables  Understand the law of large numbers.
A life insurance company sells a term insurance policy to a 21-year-old male that pays $100,000 if the insured dies within the next 5 years. The probability.
Discrete Distributions. Random Variable - A numerical variable whose value depends on the outcome of a chance experiment.
Chapter 8: Probability: The Mathematics of Chance Lesson Plan Probability Models and Rules Discrete Probability Models Equally Likely Outcomes Continuous.
+ Chapter 6: Random Variables Section 6.2 Transforming and Combining Random Variables.
The Practice of Statistics Third Edition Chapter 7: Random Variables Copyright © 2008 by W. H. Freeman & Company Daniel S. Yates.
AP Statistics, Section 7.2, Part 1 2  The Michigan Daily Game you pick a 3 digit number and win $500 if your number matches the number drawn. AP Statistics,
Probability Theory Modelling random phenomena. Permutations the number of ways that you can order n objects is: n! = n(n-1)(n-2)(n-3)…(3)(2)(1) Definition:
Section 7.2 P1 Means and Variances of Random Variables AP Statistics.
Chapter 7 Day 3. Warm - Up Jill sells charm bracelets. The table below shows the distribution of X the number of charms sold per bracelet. Jill sells.
Review Know properties of Random Variables
Chapter 8: Probability: The Mathematics of Chance Probability Models and Rules 1 Probability Theory  The mathematical description of randomness.  Companies.
7.2 Means & Variances of Random Variables AP Statistics.
Warm Up 1. The probability of getting the numbers 1,2,3,4 out of hat are 3/8, 3/8,1/8,1/8. Construct a probability distribution (table) for the data and.
Copyright © 2010 Pearson Education, Inc. Chapter 16 Random Variables.
Chapter 7: Random Variables 7.2 – Means and Variance of Random Variables.
7.2 Day 1: Mean & Variance of Random Variables Law of Large Numbers.
7.2 Day 2: Rules for Means and Variances. Probability WARM UP A travel agent books passages on three different tours, with half of her customers choosing.
A life insurance company sells a term insurance policy to a 21-year-old male that pays $100,000 if the insured dies within the next 5 years. The probability.
Chapter 6: Random Variables
Discrete Distributions
Chapter Randomness, Probability, and Simulation
Chapter 5 Sampling Distributions
Chapter 5 Sampling Distributions
Chapter 6: Random Variables
Lesson 8 Section 6.2—Linear Transformations and Combining Normal Random Variables.
Means and Variances of Random Variables
Chapter 4 – Part 3.
Probability Key Questions
Chapter 7 Random Variables.
Warmup Consider tossing a fair coin 3 times.
Chapter 6: Random Variables
Section Means and Variances of Random Variables
AP Statistics Chapter 16 Notes.
Presentation transcript:

7.2 Means and variances of Random Variables (weighted average) Mean of a sample is X bar, Mean of a probability distribution is μ

Example  Lottery: You choose a 3 digit number. If the lottery shows your same number you win $500. Since there are 1000 possible 3 digit numbers, you have a 1/1000 chance of winning.  What is your average payoff from many tickets?  $500(.001) + $0(.999) = $.50  How would this differ if you paid 1$ for your ticket? Payoff X$0$500 Probability

Mean of a continuous random variable  The point at which the area under the density curve would balance if it were made out of solid material (center if symmetrical).  Mean of skewed density curve requires math outside this course!

Variance of a random Variable  Variance of a random variable X notated as σ 2 x (different from variance of a sample which is notated as s 2 ).

Example- Linda sells cars Cars Sold0123 Probability XiXi PiPi XiPiXiPi (X i – μ x 2 )P i 0.3.0(0-1.1) 2 (.3) (1-1.1) 2 (.4) (2-1.1) 2 (.1) (3-1.1) 2 (.1).361 Μ x = 1.1Σ x 2 =.890 We can find the mean and variance of X with a table (or with our calculator! enter X in L1, P in L2, do 1-var stat L1, L2!)

Law of Large Numbers  If we want to estimate the mean height μ of all American women between age To estimate μ we take a SRS of F18-24 and use the sample mean X bar to estimate the unknown population mean.  If we repeat this, and choose another sample, the mean height will likely differ, but the more times we repeat this- drawing a sample and recording the mean- we expect that the average of the mean heights of all our samples will get very close to the true μ

The behavior of X bar is just like the behavior of expected probabilities! Example: Suppose the true μ for women’s heights was 64.5 inches with a standard deviation of 2.5 inches. If I continuously repeat drawing a sample of women from this population and recording their average height. After each recording, I write down the average of my mean sample heights. The more times I do this, the closer my overall average gets to 64.5

Casinos, Insurance companies, and law of large numbers  Gamblers may win or lose, but the casino will win in the long run because the law of large numbers says what the average outcome of many thousands of bets will be  This is the same concept when insurance companies decide what to charge or how many beef patties McD’s should make per day

Law of Small numbers  Rules of probability and law of large numbers describe the regular behavior of chance phenomena in the LONG run, but Psychologists have discovered that our intuitive understanding of randomness is quite different from the true laws of chance.  We expect that even short sequences of random events will show the kind of average behavior that in fact only appears in the long run.  Ex: Write down a sequence of heads and tails that you think imitates 10 tosses of a balanced coin. What was the longest run of consecutive heads or tails in your tosses?  Most people don’t write a run of more than 2 consecutive heads or tails. Longer runs don’t seem “random” to us.  In fact, the probability of a run of 3 or more consecutive heads or tails in 10 tosses is greater than.5078!  Seeing a run of 3 or more may cause us to incorrectly conclude that we have a biased coin.  Some gamblers follow “hot-hand” theory…silly!

How large is large?  The law doesn’t say how many trials are needed to guarantee a mean outcome close to μ.  That depends on the variability of the outcomes.  The more variable the outcomes, the more trials are needed to ensure that the mean outcome X bar is close to the distribution mean μ  Casinos understand this: the outcomes of games of chance are variable enough to hold the interest of gamblers. Only the casino plays often enough to rely on the law of large numbers. Gamblers get entertainment, Casino has a business!

Rules for means Review: How can we tell if something is a legitimate probability distribution?

Example (Linda cars) Cars Sold0123 Probability Trucks/SUV012 Probability Let X be the number of cars Linda sells and Y the number of trucks and SUV’s. μ x = (0)(.3) + (1)(.4) + (2)(.2) + (3)(.1) = 1.1 cars μ y = (0)(.4) + (1)(.5) + (2)(.1) =.7 trucks and SUV’s

 At her commission rate of 25% of gross profit on each vehicle she sells, Linda expects to earn $350 on each car and $400 on each truck/SUV sold.  her earnings are Z = 350X + 400Y  What are her average (expected) earnings? Combing rules 1 and 2, her mean earnings are  μ z = 350 μ x μ y = 350x x.7 = $665 That’s her best estimate of her earnings for the day.

Rules for Variances  For this course we only need to deal with variances of 2 variables that are independent. This is an ASSUMPTION when we do these problems (always ask yourself if the assumption of independence seems reasonable).  RULE 1: Multiplying X by a constant multiplies the SD by that constant (and thus the variance by the square of that constant)  RULE 2: If X and Y are independent σ 2 x+Y = σ x 2 + σ y 2 and σ 2 x-y = σ x 2 + σ y 2 (they’re the same b/c variance affected by the square of the change so doesn’t matter if neg or pos)  The difference X – Y is more variable than either X or Y alone because variations in both X and Y contribute to variation in their difference.

Example: Winning lottery (review)  The payoff X of a $1 ticket (do on calc)  The standard deviation is σ x = √($249.75) = $15.80 ( *Usual for games of chance to have large variances, keeps them exciting )  If you buy a ticket your winnings are W = X -1 (b/c you paid $1)  By rules for means, the mean amount you win is μ w = μ x – 1 = -$.50 (standard deviation and variance of μ x – 1 will be the same as μ x b/c adding or subtracting a constant is a linear trans!) XiXi PiPi XiPiXiPi (X i – μ x 2 )P i (0 -.5) 2 (.999) (500-.5) 2 (.001) μ x =.5σ 2 x =

 Suppose now that you buy a ticket on each of 2 different days. The payoffs X and Y on the two tickets are independent because separate drawings are held each day. Your total payoff X + Y has mean:  μ x+y = μ x + μ y = $.5 + $.5 = $1.00  Because X and Y are independent, the variance of X + Y is  σ 2 x+Y = σ x 2 + σ y 2 = =  the standard deviation of the total payoff is  σ x+Y =√(499.5) = $22.35 **not the same as sum of individual standard dev!**  If you buy a ticket every day (365 tickets a year) your mean payoff is the sum of 365 daily payoffs. That’s 365 x $.50 = $ Of course it cost you $365 to play so you actually lose $182.50!

Combining Normal Random Variables  Any linear combination of independent Normal Random Variables is also Normally Distributed.

Example- golf  Tom and George are playing in a tournament. Their scores vary as they play the course repeatedly. Tom’s score X has the N(110, 10) distribution, and George’s score Y varies from round to round according to the N(100,8) distribution. If they play independently, what is the probability that Tom will score lower than George and thus do better in the tournament?  The difference X – Y between their scores is Normally distributed with mean and variance:  μ x-y = μ x – μ y = 110 – 100 = 10  σ 2 x-y = σ 2 x + σ 2 y = = 164  √(164) = 12.8, X – Y has the N(10, 12.8) distribution.  The probability that Tom wins is:  P(X<Y) = P(X – Y < 0)  P(Z < (0-10)/12.8)  P(Z <.78) =.2177