Expectation & Variance of a Discrete Random Variable

Slides:



Advertisements
Similar presentations
Probability Distribution
Advertisements

Chapter 4 Probability and Probability Distributions
Random Variables and Expectation. Random Variables A random variable X is a mapping from a sample space S to a target set T, usually N or R. Example:
AP Statistics Chapter 16. Discrete Random Variables A discrete random variable X has a countable number of possible values. The probability distribution.
Samples vs. Distributions Distributions: Discrete Random Variable Distributions: Continuous Random Variable Another Situation: Sample of Data.
Variability Measures of spread of scores range: highest - lowest standard deviation: average difference from mean variance: average squared difference.
1-1 Copyright © 2015, 2010, 2007 Pearson Education, Inc. Chapter 15, Slide 1 Chapter 15 Random Variables.
VARIABILITY. PREVIEW PREVIEW Figure 4.1 the statistical mode for defining abnormal behavior. The distribution of behavior scores for the entire population.
L7.1b Continuous Random Variables CONTINUOUS RANDOM VARIABLES NORMAL DISTRIBUTIONS AD PROBABILITY DISTRIBUTIONS.
Sullivan – Fundamentals of Statistics – 2 nd Edition – Chapter 11 Section 1 – Slide 1 of 34 Chapter 11 Section 1 Random Variables.
Day 2 Review Chapters 5 – 7 Probability, Random Variables, Sampling Distributions.
Unit 5 Section : Mean, Variance, Standard Deviation, and Expectation  Determining the mean, standard deviation, and variance of a probability.
Ch.4 DISCRETE PROBABILITY DISTRIBUTION Prepared by: M.S Nurzaman, S.E, MIDEc. ( deden )‏
Section 5.1 Expected Value HAWKES LEARNING SYSTEMS math courseware specialists Copyright © 2008 by Hawkes Learning Systems/Quant Systems, Inc. All rights.
GrowingKnowing.com © Expected value Expected value is a weighted mean Example You put your data in categories by product You build a frequency.
5.3 Random Variables  Random Variable  Discrete Random Variables  Continuous Random Variables  Normal Distributions as Probability Distributions 1.
Chapter 5.1 Probability Distributions.  A variable is defined as a characteristic or attribute that can assume different values.  Recall that a variable.
The Mean of a Discrete RV The mean of a RV is the average value the RV takes over the long-run. –The mean of a RV is analogous to the mean of a large population.
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.
Math b (Discrete) Random Variables, Binomial Distribution.
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,
Expectation. Let X denote a discrete random variable with probability function p(x) (probability density function f(x) if X is continuous) then the expected.
By: Adam Linnabery. The quadratic formula is –b+or-√b 2 -4ac 2a an example of how it is used: X 2 -4x-12=0 the coefficient of x 2 is 1 therefore the value.
AP Statistics Chapter 16. Discrete Random Variables A discrete random variable X has a countable number of possible values. The probability distribution.
Copyright © 2014, 2011 Pearson Education, Inc. 1 Active Learning Lecture Slides For use with Classroom Response Systems Chapter 9 Random Variables.
Random Variables. Numerical Outcomes Consider associating a numerical value with each sample point in a sample space. (1,1) (1,2) (1,3) (1,4) (1,5) (1,6)
The Variance of a Random Variable Lecture 35 Section Fri, Mar 26, 2004.
AP Statistics Section 7.2A Mean & Standard Deviation of a Probability Distribution.
MATH Section 3.1.
Combining Two Random Variables: Means and Variances Lesson
7.2 Means & Variances of Random Variables AP Statistics.
3.5 Perform Basic Matrix Operations Add Matrices Subtract Matrices Solve Matric equations for x and y.
Chapter 7 Lesson 7.4a Random Variables and Probability Distributions 7.4: Mean and Standard Deviation of a Random Variable.
Discrete Random Variables Section 6.1. Objectives Distinguish between discrete and continuous random variables Identify discrete probability distributions.
Unit 3: Probability.  You will need to be able to describe how you will perform a simulation  Create a correspondence between random numbers and outcomes.
Conditional Probability 423/what-is-your-favorite-data-analysis-cartoon 1.
Chapter 15 Random Variables.
Math a Discrete Random Variables
Random Variables.
Random Variables Random variables assigns a number to each outcome of a random circumstance, or equivalently, a random variable assigns a number to each.
Discrete Random Variables
Chapter 15 Random Variables
Random Variables Random variables assigns a number to each outcome of a random circumstance, or equivalently, a random variable assigns a number to each.
“Teach A Level Maths” Statistics 1
AP Statistics Chapter 16.
Mean and Standard Deviation
Chapter 16 Random Variables.
Chapter 15 Random Variables.
Algebra II September 8, 2005.
Construction Engineering 221
MSV 5: DRVs from a Bag.
Probability Key Questions
Review
Expectation And Variance of Random Variables
Chapter 16 Random Variables Copyright © 2009 Pearson Education, Inc.
Mean and Standard Deviation
Mean and Standard Deviation
Linear Functions of a Discrete Random Variable
Mean and Standard Deviation
“Teach A Level Maths” Statistics 1
Lesson #5: Probability Distributions
Mean and Standard Deviation
Chapter 16 Random Variables Copyright © 2010 Pearson Education, Inc.
Bellwork x – 2(x + 10) = 12.
Expectation And Variance of Random Variables
MATH 2311 Section 3.1.
ELEMENTARY STATISTICS, BLUMAN
Presentation transcript:

Expectation & Variance of a Discrete Random Variable

We can get calculate the mean from the results of an experiment. An equivalent number from a probability distribution is called the expectation or expected value. Expectation 𝐸(𝑋) Multiply each value of 𝑋 by its corresponding probability. Add these together A d.r.v. 𝑋 has a probability distribution as shown. Find 𝐸(𝑋) 𝑥 −2 −1 1 2 𝑃(𝑋=𝑥) 0.3 0.1 0.15 0.4 0.05 𝐸 𝑋 = −2 ×0.3+ −1 ×0.1+0×0.15+1×0.4+2×0.05

We can get calculate the mean from the results of an experiment. An equivalent number from a probability distribution is called the expectation or expected value. Expectation 𝐸(𝑋) Multiply each value of 𝑋 by its corresponding probability. Add these together A d.r.v. 𝑋 has a probability distribution as shown. Find 𝐸(𝑋) 𝑥 −2 −1 1 2 𝑃(𝑋=𝑥) 0.3 0.1 0.15 0.4 0.05 𝐸 𝑋 = −2 ×0.3+ −1 ×0.1+0×0.15+1×0.4+2×0.05

We can get calculate the mean from the results of an experiment. An equivalent number from a probability distribution is called the expectation or expected value. Expectation 𝐸(𝑋) Multiply each value of 𝑋 by its corresponding probability. Add these together A d.r.v. 𝑋 has a probability distribution as shown. Find 𝐸(𝑋) 𝑥 −2 −1 1 2 𝑃(𝑋=𝑥) 0.3 0.1 0.15 0.4 0.05 𝐸 𝑋 = −2 ×0.3+ −1 ×0.1+0×0.15+1×0.4+2×0.05

We can get calculate the mean from the results of an experiment. An equivalent number from a probability distribution is called the expectation or expected value. Expectation 𝐸(𝑋) Multiply each value of 𝑋 by its corresponding probability. Add these together A d.r.v. 𝑋 has a probability distribution as shown. Find 𝐸(𝑋) 𝑥 −2 −1 1 2 𝑃(𝑋=𝑥) 0.3 0.1 0.15 0.4 0.05 𝐸 𝑋 = −2 ×0.3+ −1 ×0.1+0×0.15+1×0.4+2×0.05

We can get calculate the mean from the results of an experiment. An equivalent number from a probability distribution is called the expectation or expected value. Expectation 𝐸(𝑋) Multiply each value of 𝑋 by its corresponding probability. Add these together A d.r.v. 𝑋 has a probability distribution as shown. Find 𝐸(𝑋) 𝑥 −2 −1 1 2 𝑃(𝑋=𝑥) 0.3 0.1 0.15 0.4 0.05 𝐸 𝑋 = −2 ×0.3+ −1 ×0.1+0×0.15+1×0.4+2×0.05

We can get calculate the mean from the results of an experiment. An equivalent number from a probability distribution is called the expectation or expected value. Expectation 𝐸(𝑋) Multiply each value of 𝑋 by its corresponding probability. Add these together A d.r.v. 𝑋 has a probability distribution as shown. Find 𝐸(𝑋) 𝑥 −2 −1 1 2 𝑃(𝑋=𝑥) 0.3 0.1 0.15 0.4 0.05 𝐸 𝑋 = −2 ×0.3+ −1 ×0.1+0×0.15+1×0.4+2×0.05

We can get calculate the mean from the results of an experiment. An equivalent number from a probability distribution is called the expectation or expected value. Expectation 𝐸(𝑋) Multiply each value of 𝑋 by its corresponding probability. Add these together A d.r.v. 𝑋 has a probability distribution as shown. Find 𝐸(𝑋) 𝑥 −2 −1 1 2 𝑃(𝑋=𝑥) 0.3 0.1 0.15 0.4 0.05 𝐸 𝑋 = −2 ×0.3+ −1 ×0.1+0×0.15+1×0.4+2×0.05 =−𝟎.𝟐

You may see the formula 𝐸 𝑋 =∑𝑥𝑃(𝑋=𝑥) A d.r.v. 𝑋 has a probability distribution as shown. Find 𝐸(𝑋) 𝑥 −2 −1 1 2 𝑃(𝑋=𝑥) 0.3 0.1 0.15 0.4 0.05 𝐸 𝑋 = −2 ×0.3+ −1 ×0.1+0×0.15+1×0.4+2×0.05 =−𝟎.𝟐 You may see the formula 𝐸 𝑋 =∑𝑥𝑃(𝑋=𝑥) Sum of

You may see the formula 𝐸 𝑋 =∑𝑥𝑃(𝑋=𝑥) A d.r.v. 𝑋 has a probability distribution as shown. Find 𝐸(𝑋) 𝑥 −2 −1 1 2 𝑃(𝑋=𝑥) 0.3 0.1 0.15 0.4 0.05 𝐸 𝑋 = −2 ×0.3+ −1 ×0.1+0×0.15+1×0.4+2×0.05 =−𝟎.𝟐 You may see the formula 𝐸 𝑋 =∑𝑥𝑃(𝑋=𝑥) Sum of each 𝑥 times

You may see the formula 𝐸 𝑋 =∑𝑥𝑃(𝑋=𝑥) A d.r.v. 𝑋 has a probability distribution as shown. Find 𝐸(𝑋) 𝑥 −2 −1 1 2 𝑃(𝑋=𝑥) 0.3 0.1 0.15 0.4 0.05 𝐸 𝑋 = −2 ×0.3+ −1 ×0.1+0×0.15+1×0.4+2×0.05 =−𝟎.𝟐 You may see the formula 𝐸 𝑋 =∑𝑥𝑃(𝑋=𝑥) Sum of each 𝑥 times Probability of 𝑥

Variance You may see the formula 𝐸 𝑋 =∑𝑥𝑃(𝑋=𝑥) A d.r.v. 𝑋 has a probability distribution as shown. Find 𝐸(𝑋) 𝑥 −2 −1 1 2 𝑃(𝑋=𝑥) 0.3 0.1 0.15 0.4 0.05 𝐸 𝑋 = −2 ×0.3+ −1 ×0.1+0×0.15+1×0.4+2×0.05 =−𝟎.𝟐 You may see the formula 𝐸 𝑋 =∑𝑥𝑃(𝑋=𝑥) Sum of each 𝑥 times Probability of 𝑥 Variance

How did we find variance of a set of data previously in S1? Variance of discrete random variables How did we find variance of a set of data previously in S1?

Our earlier slide Variance and Standard Deviation These are measures of spread around the mean. They use all data values in their calculations. There are two formulas for finding the Variance (𝜎 2 ) – both always give the same result. 𝜎 2 = Σ 𝑥− 𝑥 2 𝑛 𝜎 2 = Σ 𝑥 2 𝑛 − Σ𝑥 𝑛 2 “The mean of the squares minus the square of the mean” You need to memorise both formulas. In almost every situation the second formula is easier to use.

Variance of discrete random variables We do essentially the same thing, though in S1 we use 𝑉𝑎𝑟 for a d.r.v 𝑉𝑎𝑟(𝑋)=𝐸 𝑋 2 − 𝐸 𝑋 2 The following will show how to calculate 𝐸 𝑋 2 as part of the calculation of 𝑉𝑎𝑟 How did we find variance of a set of data previously in S1? The mean of the squares minus the square of the mean 𝑥 1 2 3 4 𝑃(𝑋=𝑥) 0.4 0.2 0.3 0.1 For the given distribution, find a) 𝐸 𝑋 b) 𝐸 𝑋 2 c) 𝑉𝑎𝑟(𝑋)

Variance of discrete random variables 𝑥 1 2 3 4 𝑃(𝑋=𝑥) 0.4 0.2 0.3 0.1 For the given distribution, find a) 𝐸 𝑋 b) 𝐸 𝑋 2 c) 𝑉𝑎𝑟(𝑋) We need to include an 𝑥 2 row 𝑥 1 2 3 4 𝒙 𝟐 𝑃(𝑋=𝑥) 0.4 0.2 0.3 0.1

Variance of discrete random variables 𝑥 1 2 3 4 𝑃(𝑋=𝑥) 0.4 0.2 0.3 0.1 For the given distribution, find a) 𝐸 𝑋 b) 𝐸 𝑋 2 c) 𝑉𝑎𝑟(𝑋) We need to include an 𝑥 2 row 𝑥 1 2 3 4 𝑥 2 𝑃(𝑋=𝑥) 0.4 0.2 0.3 0.1

Variance of discrete random variables 𝑥 1 2 3 4 𝑃(𝑋=𝑥) 0.4 0.2 0.3 0.1 For the given distribution, find a) 𝐸 𝑋 b) 𝐸 𝑋 2 c) 𝑉𝑎𝑟(𝑋) We need to include an 𝑥 2 row 𝑥 1 2 3 4 𝑥 2 𝑃(𝑋=𝑥) 0.4 0.2 0.3 0.1

Variance of discrete random variables 𝑥 1 2 3 4 𝑃(𝑋=𝑥) 0.4 0.2 0.3 0.1 For the given distribution, find a) 𝐸 𝑋 b) 𝐸 𝑋 2 c) 𝑉𝑎𝑟(𝑋) We need to include an 𝑥 2 row 𝑥 1 2 3 4 𝑥 2 9 𝑃(𝑋=𝑥) 0.4 0.2 0.3 0.1

Variance of discrete random variables 𝑥 1 2 3 4 𝑃(𝑋=𝑥) 0.4 0.2 0.3 0.1 For the given distribution, find a) 𝐸 𝑋 b) 𝐸 𝑋 2 c) 𝑉𝑎𝑟(𝑋) We need to include an 𝑥 2 row 𝑥 1 2 3 4 𝑥 2 9 16 𝑃(𝑋=𝑥) 0.4 0.2 0.3 0.1

Variance of discrete random variables 𝑥 1 2 3 4 𝑃(𝑋=𝑥) 0.4 0.2 0.3 0.1 For the given distribution, find a) 𝐸 𝑋 b) 𝐸 𝑋 2 c) 𝑉𝑎𝑟(𝑋) We need to include an 𝑥 2 row 𝑥 1 2 3 4 𝑥 2 9 16 𝑃(𝑋=𝑥) 0.4 0.2 0.3 0.1 a) 𝐸 𝑋 = 1×0.4 + 2×0.2 + 3×0.3 +(4×0.1) =2.1

For 𝐸( 𝑋 2 ) we just use the 𝑥 2 row instead Variance of discrete random variables 𝑥 1 2 3 4 𝑃(𝑋=𝑥) 0.4 0.2 0.3 0.1 For the given distribution, find a) 𝐸 𝑋 b) 𝐸 𝑋 2 c) 𝑉𝑎𝑟(𝑋) We need to include an 𝑥 2 row 𝑥 1 2 3 4 𝑥 2 9 16 𝑃(𝑋=𝑥) 0.4 0.2 0.3 0.1 a) 𝐸 𝑋 = 1×0.4 + 2×0.2 + 3×0.3 +(4×0.1) =2.1 For 𝐸( 𝑋 2 ) we just use the 𝑥 2 row instead

For 𝐸( 𝑋 2 ) we just use the 𝑥 2 row instead Variance of discrete random variables 𝑥 1 2 3 4 𝑃(𝑋=𝑥) 0.4 0.2 0.3 0.1 For the given distribution, find a) 𝐸 𝑋 b) 𝐸 𝑋 2 c) 𝑉𝑎𝑟(𝑋) We need to include an 𝑥 2 row 𝑥 1 2 3 4 𝑥 2 9 16 𝑃(𝑋=𝑥) 0.4 0.2 0.3 0.1 a) 𝐸 𝑋 = 1×0.4 + 2×0.2 + 3×0.3 +(4×0.1) =2.1 For 𝐸( 𝑋 2 ) we just use the 𝑥 2 row instead

For 𝐸( 𝑋 2 ) we just use the 𝑥 2 row instead Variance of discrete random variables 𝑥 1 2 3 4 𝑃(𝑋=𝑥) 0.4 0.2 0.3 0.1 For the given distribution, find a) 𝐸 𝑋 b) 𝐸 𝑋 2 c) 𝑉𝑎𝑟(𝑋) We need to include an 𝑥 2 row 𝑥 1 2 3 4 𝑥 2 9 16 𝑃(𝑋=𝑥) 0.4 0.2 0.3 0.1 a) 𝐸 𝑋 = 1×0.4 + 2×0.2 + 3×0.3 +(4×0.1) =2.1 For 𝐸( 𝑋 2 ) we just use the 𝑥 2 row instead b) 𝐸 𝑋 2 = 1×0.4 + 4×0.2 + 9×0.3 +(16×0.1) =5.5

Variance of discrete random variables 𝑥 1 2 3 4 𝑥 2 9 16 𝑃(𝑋=𝑥) 0.4 0.2 0.3 0.1 a) 𝐸 𝑋 = 1×0.4 + 2×0.2 + 3×0.3 +(4×0.1) =2.1 b) 𝐸 𝑋 2 = 1×0.4 + 4×0.2 + 9×0.3 +(16×0.1) =5.5 𝑉𝑎𝑟(𝑋)=𝐸 𝑋 2 − 𝐸 𝑋 2 Ex 8C page 162 Q1-5 (about 10 – 15 mins) Ex 8D page 164 Skip Q3 c) 𝑉𝑎𝑟 𝑋 =5.5 − 2.1 2 =1.09

Hints 8C 8D Ex 8C page 162 Q1-5 (about 10 – 15 mins) Ex 8D page 164 Q3c – simply show what each is & therefore show whether equal or not Q4 – List the sample space (all the equally possible outcomes), starting HH,… Q5 – make two equations with 𝑎 and 𝑏 in each & solve simultaneously 8D Q1a – you should be able to work it out in your head! Q1b – show working for this part Q4a – Use the sample space diagram at right (draw your own in an exam if necessary) Q5 – Draw your own sample space Q6 – List sample space Q7 – Think about the expected value, by looking at the probabilities of the higher and lower values… Remember “Write down” means no working required. Ex 8C page 162 Q1-5 (about 10 – 15 mins) Ex 8D page 164 Skip Q3