Presentation is loading. Please wait.

Presentation is loading. Please wait.

Expectation & Variance of a Discrete Random Variable

Similar presentations


Presentation on theme: "Expectation & Variance of a Discrete Random Variable"β€” Presentation transcript:

1 Expectation & Variance of a Discrete Random Variable

2 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

3 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

4 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

5 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

6 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

7 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

8 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 =βˆ’πŸŽ.𝟐

9 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

10 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

11 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 π‘₯

12 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

13 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?

14 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.

15 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) π‘‰π‘Žπ‘Ÿ(𝑋)

16 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

17 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

18 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

19 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

20 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

21 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.3 +(4Γ—0.1) =2.1

22 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.3 +(4Γ—0.1) =2.1 For 𝐸( 𝑋 2 ) we just use the π‘₯ 2 row instead

23 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.3 +(4Γ—0.1) =2.1 For 𝐸( 𝑋 2 ) we just use the π‘₯ 2 row instead

24 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.3 +(4Γ—0.1) =2.1 For 𝐸( 𝑋 2 ) we just use the π‘₯ 2 row instead b) 𝐸 𝑋 2 = 1Γ— Γ— Γ—0.3 +(16Γ—0.1) =5.5

25 Variance of discrete random variables
π‘₯ 1 2 3 4 π‘₯ 2 9 16 𝑃(𝑋=π‘₯) 0.4 0.2 0.3 0.1 a) 𝐸 𝑋 = 1Γ— Γ— Γ—0.3 +(4Γ—0.1) =2.1 b) 𝐸 𝑋 2 = 1Γ— Γ— Γ—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 βˆ’ =1.09

26 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


Download ppt "Expectation & Variance of a Discrete Random Variable"

Similar presentations


Ads by Google