Variance and standard deviation of a discrete random variable

Post on 06-Jan-2017

396 views 0 download

Transcript of Variance and standard deviation of a discrete random variable

Example 7: Find the variance and standard deviation of the probability distribution.X P(x)0 0.21 0.32 0.23 0.24 0.1

Example 7: Find the variance and standard deviation of the probability distribution.X P(x)0 0.21 0.32 0.23 0.24 0.1

𝜎 2=βˆ‘ [π‘₯2 βˆ™π‘ƒ (π‘₯ )]βˆ’πœ‡2

Example 7: Find the variance and standard deviation of the probability distribution.X P(x)0 0.21 0.32 0.23 0.24 0.1

𝜎 2=βˆ‘ [π‘₯2 βˆ™π‘ƒ (π‘₯ )]βˆ’πœ‡2

First find the mean.

Example 7: Find the variance and standard deviation of the probability distribution.X P(x)0 0.21 0.32 0.23 0.24 0.1

𝜎 2=βˆ‘ [π‘₯2 βˆ™π‘ƒ (π‘₯ )]βˆ’πœ‡2

First find the mean.

πœ‡=βˆ‘ [π‘₯ βˆ™π‘ƒ (π‘₯ )]

Example 7: Find the variance and standard deviation of the probability distribution.X P(x)0 0.21 0.32 0.23 0.24 0.1

πœ‡=βˆ‘ [π‘₯ βˆ™π‘ƒ (π‘₯ )]Create a column of xβˆ™P(x)

𝜎 2=βˆ‘ [π‘₯2 βˆ™π‘ƒ (π‘₯ )]βˆ’πœ‡2

Example 7: Find the variance and standard deviation of the probability distribution.

X P(x) xβˆ™P(x)0 0.21 0.32 0.23 0.24 0.1

πœ‡=βˆ‘ [π‘₯ βˆ™π‘ƒ (π‘₯ )]Create a column of xβˆ™P(x)

𝜎 2=βˆ‘ [π‘₯2 βˆ™π‘ƒ (π‘₯ )]βˆ’πœ‡2

Example 7: Find the variance and standard deviation of the probability distribution.

X P(x) xβˆ™P(x)0 0.2 0(0.2) = 01 0.32 0.23 0.24 0.1

πœ‡=βˆ‘ [π‘₯ βˆ™π‘ƒ (π‘₯ )]Create a column of xβˆ™P(x)

𝜎 2=βˆ‘ [π‘₯2 βˆ™π‘ƒ (π‘₯ )]βˆ’πœ‡2

Example 7: Find the variance and standard deviation of the probability distribution.

X P(x) xβˆ™P(x)0 0.2 0(0.2) = 01 0.3 1(0.3) = 0.32 0.23 0.24 0.1

πœ‡=βˆ‘ [π‘₯ βˆ™π‘ƒ (π‘₯ )]Create a column of xβˆ™P(x)

𝜎 2=βˆ‘ [π‘₯2 βˆ™π‘ƒ (π‘₯ )]βˆ’πœ‡2

Example 7: Find the variance and standard deviation of the probability distribution.

X P(x) xβˆ™P(x)0 0.2 0(0.2) = 01 0.3 1(0.3) = 0.32 0.2 2(0.2) = 0.43 0.24 0.1

πœ‡=βˆ‘ [π‘₯ βˆ™π‘ƒ (π‘₯ )]Create a column of xβˆ™P(x)

𝜎 2=βˆ‘ [π‘₯2 βˆ™π‘ƒ (π‘₯ )]βˆ’πœ‡2

Example 7: Find the variance and standard deviation of the probability distribution.

X P(x) xβˆ™P(x)0 0.2 0(0.2) = 01 0.3 1(0.3) = 0.32 0.2 2(0.2) = 0.43 0.2 3(0.2) = 0.64 0.1

πœ‡=βˆ‘ [π‘₯ βˆ™π‘ƒ (π‘₯ )]Create a column of xβˆ™P(x)

𝜎 2=βˆ‘ [π‘₯2 βˆ™π‘ƒ (π‘₯ )]βˆ’πœ‡2

Example 7: Find the variance and standard deviation of the probability distribution.

X P(x) xβˆ™P(x)0 0.2 0(0.2) = 01 0.3 1(0.3) = 0.32 0.2 2(0.2) = 0.43 0.2 3(0.2) = 0.64 0.1 4(0.1) = 0.4

πœ‡=βˆ‘ [π‘₯ βˆ™π‘ƒ (π‘₯ )]Create a column of xβˆ™P(x)

𝜎 2=βˆ‘ [π‘₯2 βˆ™π‘ƒ (π‘₯ )]βˆ’πœ‡2

Example 7: Find the variance and standard deviation of the probability distribution.

X P(x) xβˆ™P(x)0 0.2 0(0.2) = 01 0.3 1(0.3) = 0.32 0.2 2(0.2) = 0.43 0.2 3(0.2) = 0.64 0.1 4(0.1) = 0.4

πœ‡=βˆ‘ [π‘₯ βˆ™π‘ƒ (π‘₯ )]

Sum the column of xβˆ™P(x)

𝜎 2=βˆ‘ [π‘₯2 βˆ™π‘ƒ (π‘₯ )]βˆ’πœ‡2

Example 7: Find the variance and standard deviation of the probability distribution.

X P(x) xβˆ™P(x)0 0.2 0(0.2) = 01 0.3 1(0.3) = 0.32 0.2 2(0.2) = 0.43 0.2 3(0.2) = 0.64 0.1 4(0.1) = 0.4

πœ‡=βˆ‘ [π‘₯ βˆ™π‘ƒ (π‘₯ )]

Sum the column of xβˆ™P(x)

Ξ£[xβˆ™P(x)]=1.7

𝜎 2=βˆ‘ [π‘₯2 βˆ™π‘ƒ (π‘₯ )]βˆ’πœ‡2

Example 7: Find the variance and standard deviation of the probability distribution.

X P(x) xβˆ™P(x)0 0.2 0(0.2) = 01 0.3 1(0.3) = 0.32 0.2 2(0.2) = 0.43 0.2 3(0.2) = 0.64 0.1 4(0.1) = 0.4

πœ‡=βˆ‘ [π‘₯ βˆ™π‘ƒ (π‘₯ )]=1.7

Ξ£[xβˆ™P(x)]=1.7

𝜎 2=βˆ‘ [π‘₯2 βˆ™π‘ƒ (π‘₯ )]βˆ’πœ‡2

Example 7: Find the variance and standard deviation of the probability distribution.

X P(x) xβˆ™P(x)0 0.2 0(0.2) = 01 0.3 1(0.3) = 0.32 0.2 2(0.2) = 0.43 0.2 3(0.2) = 0.64 0.1 4(0.1) = 0.4

πœ‡=βˆ‘ [π‘₯ βˆ™π‘ƒ (π‘₯ )]=1.7

Ξ£[xβˆ™P(x)]=1.7

𝜎 2=βˆ‘ [π‘₯2 βˆ™π‘ƒ (π‘₯ )]βˆ’πœ‡2

Create a column of x2

Example 7: Find the variance and standard deviation of the probability distribution.

X P(x) xβˆ™P(x) x2

0 0.2 0(0.2) = 01 0.3 1(0.3) = 0.32 0.2 2(0.2) = 0.43 0.2 3(0.2) = 0.64 0.1 4(0.1) = 0.4

πœ‡=βˆ‘ [π‘₯ βˆ™π‘ƒ (π‘₯ )]=1.7

Ξ£[xβˆ™P(x)]=1.7

𝜎 2=βˆ‘ [π‘₯2 βˆ™π‘ƒ (π‘₯ )]βˆ’πœ‡2

Create a column of x2

Example 7: Find the variance and standard deviation of the probability distribution.

X P(x) xβˆ™P(x) x2

0 0.2 0(0.2) = 0 02 = 01 0.3 1(0.3) = 0.32 0.2 2(0.2) = 0.43 0.2 3(0.2) = 0.64 0.1 4(0.1) = 0.4

πœ‡=βˆ‘ [π‘₯ βˆ™π‘ƒ (π‘₯ )]=1.7

Ξ£[xβˆ™P(x)]=1.7

𝜎 2=βˆ‘ [π‘₯2 βˆ™π‘ƒ (π‘₯ )]βˆ’πœ‡2

Create a column of x2

Example 7: Find the variance and standard deviation of the probability distribution.

X P(x) xβˆ™P(x) x2

0 0.2 0(0.2) = 0 02 = 01 0.3 1(0.3) = 0.3 12 = 12 0.2 2(0.2) = 0.43 0.2 3(0.2) = 0.64 0.1 4(0.1) = 0.4

πœ‡=βˆ‘ [π‘₯ βˆ™π‘ƒ (π‘₯ )]=1.7

Ξ£[xβˆ™P(x)]=1.7

𝜎 2=βˆ‘ [π‘₯2 βˆ™π‘ƒ (π‘₯ )]βˆ’πœ‡2

Create a column of x2

Example 7: Find the variance and standard deviation of the probability distribution.

X P(x) xβˆ™P(x) x2

0 0.2 0(0.2) = 0 02 = 01 0.3 1(0.3) = 0.3 12 = 12 0.2 2(0.2) = 0.4 22 = 43 0.2 3(0.2) = 0.64 0.1 4(0.1) = 0.4

πœ‡=βˆ‘ [π‘₯ βˆ™π‘ƒ (π‘₯ )]=1.7

Ξ£[xβˆ™P(x)]=1.7

𝜎 2=βˆ‘ [π‘₯2 βˆ™π‘ƒ (π‘₯ )]βˆ’πœ‡2

Create a column of x2

Example 7: Find the variance and standard deviation of the probability distribution.

X P(x) xβˆ™P(x) x2

0 0.2 0(0.2) = 0 02 = 01 0.3 1(0.3) = 0.3 12 = 12 0.2 2(0.2) = 0.4 22 = 43 0.2 3(0.2) = 0.6 32 = 94 0.1 4(0.1) = 0.4

πœ‡=βˆ‘ [π‘₯ βˆ™π‘ƒ (π‘₯ )]=1.7

Ξ£[xβˆ™P(x)]=1.7

𝜎 2=βˆ‘ [π‘₯2 βˆ™π‘ƒ (π‘₯ )]βˆ’πœ‡2

Create a column of x2

Example 7: Find the variance and standard deviation of the probability distribution.

X P(x) xβˆ™P(x) x2

0 0.2 0(0.2) = 0 02 = 01 0.3 1(0.3) = 0.3 12 = 12 0.2 2(0.2) = 0.4 22 = 43 0.2 3(0.2) = 0.6 32 = 94 0.1 4(0.1) = 0.4 42 = 16

πœ‡=βˆ‘ [π‘₯ βˆ™π‘ƒ (π‘₯ )]=1.7

Ξ£[xβˆ™P(x)]=1.7

𝜎 2=βˆ‘ [π‘₯2 βˆ™π‘ƒ (π‘₯ )]βˆ’πœ‡2

Create a column of x2

Example 7: Find the variance and standard deviation of the probability distribution.

X P(x) xβˆ™P(x) x2

0 0.2 0(0.2) = 0 02 = 01 0.3 1(0.3) = 0.3 12 = 12 0.2 2(0.2) = 0.4 22 = 43 0.2 3(0.2) = 0.6 32 = 94 0.1 4(0.1) = 0.4 42 = 16

πœ‡=βˆ‘ [π‘₯ βˆ™π‘ƒ (π‘₯ )]=1.7

Ξ£[xβˆ™P(x)]=1.7

𝜎 2=βˆ‘ [π‘₯2 βˆ™π‘ƒ (π‘₯ )]βˆ’πœ‡2

Create a column of x2βˆ™P(x)

Example 7: Find the variance and standard deviation of the probability distribution.

X P(x) xβˆ™P(x) x2 x2βˆ™P(x)0 0.2 0(0.2) = 0 02 = 01 0.3 1(0.3) = 0.3 12 = 12 0.2 2(0.2) = 0.4 22 = 43 0.2 3(0.2) = 0.6 32 = 94 0.1 4(0.1) = 0.4 42 = 16

πœ‡=βˆ‘ [π‘₯ βˆ™π‘ƒ (π‘₯ )]=1.7

Ξ£[xβˆ™P(x)]=1.7

𝜎 2=βˆ‘ [π‘₯2 βˆ™π‘ƒ (π‘₯ )]βˆ’πœ‡2

Create a column of x2βˆ™P(x)

Example 7: Find the variance and standard deviation of the probability distribution.

X P(x) xβˆ™P(x) x2 x2βˆ™P(x)0 0.2 0(0.2) = 0 02 = 0 0(0.2) = 01 0.3 1(0.3) = 0.3 12 = 12 0.2 2(0.2) = 0.4 22 = 43 0.2 3(0.2) = 0.6 32 = 94 0.1 4(0.1) = 0.4 42 = 16

πœ‡=βˆ‘ [π‘₯ βˆ™π‘ƒ (π‘₯ )]=1.7

Ξ£[xβˆ™P(x)]=1.7

𝜎 2=βˆ‘ [π‘₯2 βˆ™π‘ƒ (π‘₯ )]βˆ’πœ‡2

Create a column of x2βˆ™P(x)

Example 7: Find the variance and standard deviation of the probability distribution.

X P(x) xβˆ™P(x) x2 x2βˆ™P(x)0 0.2 0(0.2) = 0 02 = 0 0(0.2) = 01 0.3 1(0.3) = 0.3 12 = 1 1(0.3) = 0.32 0.2 2(0.2) = 0.4 22 = 43 0.2 3(0.2) = 0.6 32 = 94 0.1 4(0.1) = 0.4 42 = 16

πœ‡=βˆ‘ [π‘₯ βˆ™π‘ƒ (π‘₯ )]=1.7

Ξ£[xβˆ™P(x)]=1.7

𝜎 2=βˆ‘ [π‘₯2 βˆ™π‘ƒ (π‘₯ )]βˆ’πœ‡2

Create a column of x2βˆ™P(x)

Example 7: Find the variance and standard deviation of the probability distribution.

X P(x) xβˆ™P(x) x2 x2βˆ™P(x)0 0.2 0(0.2) = 0 02 = 0 0(0.2) = 01 0.3 1(0.3) = 0.3 12 = 1 1(0.3) = 0.32 0.2 2(0.2) = 0.4 22 = 4 4(0.2) = 0.83 0.2 3(0.2) = 0.6 32 = 94 0.1 4(0.1) = 0.4 42 = 16

πœ‡=βˆ‘ [π‘₯ βˆ™π‘ƒ (π‘₯ )]=1.7

Ξ£[xβˆ™P(x)]=1.7

𝜎 2=βˆ‘ [π‘₯2 βˆ™π‘ƒ (π‘₯ )]βˆ’πœ‡2

Create a column of x2βˆ™P(x)

Example 7: Find the variance and standard deviation of the probability distribution.

X P(x) xβˆ™P(x) x2 x2βˆ™P(x)0 0.2 0(0.2) = 0 02 = 0 0(0.2) = 01 0.3 1(0.3) = 0.3 12 = 1 1(0.3) = 0.32 0.2 2(0.2) = 0.4 22 = 4 4(0.2) = 0.83 0.2 3(0.2) = 0.6 32 = 9 9(0.2) = 1.84 0.1 4(0.1) = 0.4 42 = 16

πœ‡=βˆ‘ [π‘₯ βˆ™π‘ƒ (π‘₯ )]=1.7

Ξ£[xβˆ™P(x)]=1.7

𝜎 2=βˆ‘ [π‘₯2 βˆ™π‘ƒ (π‘₯ )]βˆ’πœ‡2

Create a column of x2βˆ™P(x)

Example 7: Find the variance and standard deviation of the probability distribution.

X P(x) xβˆ™P(x) x2 x2βˆ™P(x)0 0.2 0(0.2) = 0 02 = 0 0(0.2) = 01 0.3 1(0.3) = 0.3 12 = 1 1(0.3) = 0.32 0.2 2(0.2) = 0.4 22 = 4 4(0.2) = 0.83 0.2 3(0.2) = 0.6 32 = 9 9(0.2) = 1.84 0.1 4(0.1) = 0.4 42 = 16 16(0.1) = 1.6

πœ‡=βˆ‘ [π‘₯ βˆ™π‘ƒ (π‘₯ )]=1.7

Ξ£[xβˆ™P(x)]=1.7

𝜎 2=βˆ‘ [π‘₯2 βˆ™π‘ƒ (π‘₯ )]βˆ’πœ‡2

Create a column of x2βˆ™P(x)

Example 7: Find the variance and standard deviation of the probability distribution.

X P(x) xβˆ™P(x) x2 x2βˆ™P(x)0 0.2 0(0.2) = 0 02 = 0 0(0.2) = 01 0.3 1(0.3) = 0.3 12 = 1 1(0.3) = 0.32 0.2 2(0.2) = 0.4 22 = 4 4(0.2) = 0.83 0.2 3(0.2) = 0.6 32 = 9 9(0.2) = 1.84 0.1 4(0.1) = 0.4 42 = 16 16(0.1) = 1.6

πœ‡=βˆ‘ [π‘₯ βˆ™π‘ƒ (π‘₯ )]=1.7

Ξ£[xβˆ™P(x)]=1.7

𝜎 2=βˆ‘ [π‘₯2 βˆ™π‘ƒ (π‘₯ )]βˆ’πœ‡2

Sum the column of x2βˆ™P(x)

Example 7: Find the variance and standard deviation of the probability distribution.

X P(x) xβˆ™P(x) x2 x2βˆ™P(x)0 0.2 0(0.2) = 0 02 = 0 0(0.2) = 01 0.3 1(0.3) = 0.3 12 = 1 1(0.3) = 0.32 0.2 2(0.2) = 0.4 22 = 4 4(0.2) = 0.83 0.2 3(0.2) = 0.6 32 = 9 9(0.2) = 1.84 0.1 4(0.1) = 0.4 42 = 16 16(0.1) = 1.6

πœ‡=βˆ‘ [π‘₯ βˆ™π‘ƒ (π‘₯ )]=1.7

Ξ£[xβˆ™P(x)]=1.7

𝜎 2=βˆ‘ [π‘₯2 βˆ™π‘ƒ (π‘₯ )]βˆ’πœ‡2

Sum the column of x2βˆ™P(x)Ξ£[x2βˆ™P(x)]=4.5

Example 7: Find the variance and standard deviation of the probability distribution.

X P(x) xβˆ™P(x) x2 x2βˆ™P(x)0 0.2 0(0.2) = 0 02 = 0 0(0.2) = 01 0.3 1(0.3) = 0.3 12 = 1 1(0.3) = 0.32 0.2 2(0.2) = 0.4 22 = 4 4(0.2) = 0.83 0.2 3(0.2) = 0.6 32 = 9 9(0.2) = 1.84 0.1 4(0.1) = 0.4 42 = 16 16(0.1) = 1.6

πœ‡=βˆ‘ [π‘₯ βˆ™π‘ƒ (π‘₯ )]=1.7

Ξ£[xβˆ™P(x)]=1.7

4.5 – 1.72

1.61

Ξ£[x2βˆ™P(x)]=4.5

Variance

Example 7: Find the variance and standard deviation of the probability distribution.

X P(x) xβˆ™P(x) x2 x2βˆ™P(x)0 0.2 0(0.2) = 0 02 = 0 0(0.2) = 01 0.3 1(0.3) = 0.3 12 = 1 1(0.3) = 0.32 0.2 2(0.2) = 0.4 22 = 4 4(0.2) = 0.83 0.2 3(0.2) = 0.6 32 = 9 9(0.2) = 1.84 0.1 4(0.1) = 0.4 42 = 16 16(0.1) = 1.6

πœ‡=βˆ‘ [π‘₯ βˆ™π‘ƒ (π‘₯ )]=1.7

Ξ£[xβˆ™P(x)]=1.7

4.5 – 1.72

1.61

Ξ£[x2βˆ™P(x)]=4.5

Variance

𝜎=√𝜎2

Example 7: Find the variance and standard deviation of the probability distribution.

X P(x) xβˆ™P(x) x2 x2βˆ™P(x)0 0.2 0(0.2) = 0 02 = 0 0(0.2) = 01 0.3 1(0.3) = 0.3 12 = 1 1(0.3) = 0.32 0.2 2(0.2) = 0.4 22 = 4 4(0.2) = 0.83 0.2 3(0.2) = 0.6 32 = 9 9(0.2) = 1.84 0.1 4(0.1) = 0.4 42 = 16 16(0.1) = 1.6

πœ‡=βˆ‘ [π‘₯ βˆ™π‘ƒ (π‘₯ )]=1.7

Ξ£[xβˆ™P(x)]=1.7

4.5 – 1.72

1.61

Ξ£[x2βˆ™P(x)]=4.5

Variance

𝜎=√𝜎2=√1.61β‰ˆ1.27

Standard Deviation