Copyright © Cengage Learning. All rights reserved. 3 Discrete Random Variables and Probability Distributions.

Slides:



Advertisements
Similar presentations
1 Set #3: Discrete Probability Functions Define: Random Variable – numerical measure of the outcome of a probability experiment Value determined by chance.
Advertisements

Chapter 6 Continuous Random Variables and Probability Distributions
Statistics Lecture 9. Last day/Today: Discrete probability distributions Assignment 3: Chapter 2: 44, 50, 60, 68, 74, 86, 110.
Probability Distributions
Discrete Random Variables and Probability Distributions
Copyright © Cengage Learning. All rights reserved. 3 Discrete Random Variables and Probability Distributions.
The Analysis of Variance
Copyright © Cengage Learning. All rights reserved. 6 Point Estimation.
The Binomial Probability
Variance Fall 2003, Math 115B. Basic Idea Tables of values and graphs of the p.m.f.’s of the finite random variables, X and Y, are given in the sheet.
Copyright © Cengage Learning. All rights reserved. 4 Continuous Random Variables and Probability Distributions.
Copyright © Cengage Learning. All rights reserved. 3.5 Hypergeometric and Negative Binomial Distributions.
Jointly Distributed Random Variables
Copyright © Cengage Learning. All rights reserved. 4 Techniques of Differentiation with Applications.
PROBABILITY & STATISTICAL INFERENCE LECTURE 3 MSc in Computing (Data Analytics)
GrowingKnowing.com © Expected value Expected value is a weighted mean Example You put your data in categories by product You build a frequency.
Algebra Form and Function by McCallum Connally Hughes-Hallett et al. Copyright 2010 by John Wiley & Sons. All rights reserved. 3.1 Solving Equations Section.
The Standard Deviation of a Discrete Random Variable Lecture 24 Section Fri, Oct 20, 2006.
Mean and Standard Deviation of Discrete Random Variables.
Rules for Means and Variances. Rules for Means: Rule 1: If X is a random variable and a and b are constants, then If we add a constant a to every value.
3 Averages and Variation
3.3 Expected Values.
Discrete Distributions. Random Variable - A numerical variable whose value depends on the outcome of a chance experiment.
4 Techniques of Differentiation with Applications
PROBABILITY AND STATISTICS WEEK 4 Onur Doğan. Random Variable Random Variable. Let S be the sample space for an experiment. A real-valued function that.
Probability Distributions, Discrete Random Variables
1 Copyright © Cengage Learning. All rights reserved. 2. Equations and Inequalities 2.1 Equations.
Copyright © Cengage Learning. All rights reserved. Fundamental Concepts of Algebra 1.1 Real Numbers.
Copyright © Cengage Learning. All rights reserved. 3 Discrete Random Variables and Probability Distributions.
Chapter 3 Discrete Random Variables and Probability Distributions  Random Variables.2 - Probability Distributions for Discrete Random Variables.3.
Copyright © Cengage Learning. All rights reserved. 3 Discrete Random Variables and Probability Distributions.
Section 5 – Expectation and Other Distribution Parameters.
Copyright © Cengage Learning. All rights reserved. 3 Discrete Random Variables and Probability Distributions.
Copyright © Cengage Learning. All rights reserved. 3 Discrete Random Variables and Probability Distributions.
Copyright © Cengage Learning. All rights reserved. 3 Discrete Random Variables and Probability Distributions.
The Variance of a Random Variable Lecture 35 Section Fri, Mar 26, 2004.
Copyright © Cengage Learning. All rights reserved. Sequences and Series.
1 Copyright © Cengage Learning. All rights reserved. 3 Discrete Random Variables and Probability Distributions.
Copyright © Cengage Learning. All rights reserved. 5 Joint Probability Distributions and Random Samples.
1 Two Discrete Random Variables The probability mass function (pmf) of a single discrete rv X specifies how much probability mass is placed on each possible.
7.2 Means & Variances of Random Variables AP Statistics.
Copyright © Cengage Learning. All rights reserved. 5 Joint Probability Distributions and Random Samples.
Copyright © Cengage Learning. All rights reserved. 5 Joint Probability Distributions and Random Samples.
Copyright © Cengage Learning. All rights reserved. 3 Discrete Random Variables and Probability Distributions.
7.2 Day 1: Mean & Variance of Random Variables Law of Large Numbers.
Copyright © Cengage Learning. All rights reserved. 5 Joint Probability Distributions and Random Samples.
Copyright © Cengage Learning. All rights reserved. 3 Discrete Random Variables and Probability Distributions.
Copyright © Cengage Learning. All rights reserved. 3 Discrete Random Variables and Probability Distributions.
Copyright © Cengage Learning. All rights reserved. 4 Continuous Random Variables and Probability Distributions.
Discrete Probability Distributions
Copyright © Cengage Learning. All rights reserved.
Linear Algebra Review.
Discrete Random Variables and Probability Distributions
Section 7.3: Probability Distributions for Continuous Random Variables
Expected Values.
Joint Probability Distributions and Random Samples
Joint Probability Distributions and Random Samples
Mean and Standard Deviation
Keller: Stats for Mgmt & Econ, 7th Ed
Chapter 3 Discrete Random Variables and Probability Distributions
Discrete Random Variables and Probability Distributions
Chapter 16.
Mean and Standard Deviation
Mean and Standard Deviation
Discrete Distributions
Discrete Distributions
Linear Functions of a Discrete Random Variable
Mean and Standard Deviation
Discrete Distributions.
Mean and Standard Deviation
Presentation transcript:

Copyright © Cengage Learning. All rights reserved. 3 Discrete Random Variables and Probability Distributions

Copyright © Cengage Learning. All rights reserved. 3.3 Expected Values

3 The Expected Value of X

4 Definition

5 Example 3.16 Consider a university having 15,000 students and let X = of courses for which a randomly selected student is registered. The pmf of X follows.  = 1  p(1) + 2  p(2) +…+ 7  p(7) = (1)(.01) + 2(.03) + …+ (7)(.02) = = 4.57

6 Example 3.16 If we think of the population as consisting of the X values 1, 2,..., 7, then  = 4.57 is the population mean. In the sequel, we will often refer to  as the population mean rather than the mean of X in the population. Notice that  here is not 4, the ordinary average of 1,..., 7, because the distribution puts more weight on 4, 5, and 6 than on other X values. cont’d

7 The Expected Value of a Function

8 Sometimes interest will focus on the expected value of some function h (X) rather than on just E (X). Proposition That is, E [h (X)] is computed in the same way that E (X) itself is, except that h (x) is substituted in place of x.

9 Example 3.23 A computer store has purchased three computers of a certain type at $500 apiece. It will sell them for $1000 apiece. The manufacturer has agreed to repurchase any computers still unsold after a specified period at $200 apiece. Let X denote the number of computers sold, and suppose that p(0) =.1, p(1) =.2, p(2) =.3 and p(3) =.4.

10 Example 3.23 With h (X) denoting the profit associated with selling X units, the given information implies that h (X) = revenue – cost = 1000X + 200(3 – X) – 1500 = 800X – 900 The expected profit is then E [h (X)] = h(0)  p(0) + h(1)  p(1) + h(2)  p(2) + h(3)  p(3) = (–900)(.1) + (– 100)(.2) + (700)(.3) + (1500)(.4) = $700 cont’d

11 Rules of Expected Value

12 Expected Value of a Linear Function The h (X) function of interest is quite frequently a linear function aX + b. In this case, E [h (X)] is easily computed from E (X). Proposition To paraphrase, the expected value of a linear function equals the linear function evaluated at the expected value E(X). Since h(X) in Example 3.23 is linear and E(X) = 2, E[h(x)] = 800(2) – 900 = $700, as before.

13 The Variance of X

14 The Variance of X Definition

15 The Variance of X The quantity h (X) = (X –  ) 2 is the squared deviation of X from its mean, and  2 is the expected squared deviation— i.e., the weighted average of squared deviations, where the weights are probabilities from the distribution. If most of the probability distribution is close to , then  2 will be relatively small. However, if there are x values far from  that have large p(x), then  2 will be quite large. Very roughly  can be interpreted as the size of a representative deviation from the mean value .

16 The Variance of X So if  = 10, then in a long sequence of observed X values, some will deviate from  by more than 10 while others will be closer to the mean than that—a typical deviation from the mean will be something on the order of 10.

17 Example 3.24 A library has an upper limit of 6 on the number of videos that can be checked out to an individual at one time. Consider only those who check out videos, and let X denote the number of videos checked out to a randomly selected individual. The pmf of X is as follows: The expected value of X is easily seen to be  = 2.85.

18 Example 3.24 The variance of X is then = (1 – 2.85) 2 (.30) + (2 – 2.85) 2 (.25) (6 – 2.85) 2 (.15) = The standard deviation of X is  = = cont’d

19 The Variance of X When the pmf p(x) specifies a mathematical model for the distribution of population values, both  2 and  measure the spread of values in the population;  2 is the population variance, and  is the population standard deviation.

20 A Shortcut Formula for  2

21 A Shortcut Formula for  2 The number of arithmetic operations necessary to compute  2 can be reduced by using an alternative formula. Proposition In using this formula, E(X 2 ) is computed first without any subtraction; then E(X) is computed, squared, and subtracted (once) from E(X 2 ).

22 Variance of a Linear Function The variance of h (X) is the expected value of the squared difference between h (X) and its expected value: V [h (X)] =  2 h(X) = When h (X) = aX + b, a linear function, h (x) – E [h (X)] = ax + b – (a  + b) = a (x –  ) Substituting this into (3.13) gives a simple relationship between V [h (X)] and V(X): (3.13)

23 Variance of a Linear Function Proposition The absolute value is necessary because a might be negative, yet a standard deviation cannot be. Usually multiplication by a corresponds to a change in the unit of measurement (e.g., kg to lb or dollars to euros).

24 Rules of Variance According to the first relation in (3.14), the sd in the new unit is the original sd multiplied by the conversion factor. The second relation says that adding or subtracting a constant does not impact variability; it just rigidly shifts the distribution to the right or left.

25 Example 3.26 In the computer sales scenario of Example 3.23, E(X) = 2 and E(X 2 ) = (0) 2 (.1) + (1) 2 (.2) + (2) 2 (.3) + (3) 2 (.4) = 5 so, V(X) = 5 – (2) 2 = 1. The profit function h(X) = 800X – 900 then has variance (800) 2  V(X) = (640,000)(1) = 640,000 and standard deviation 800.