# Calculate E[X] and Var[X]

• December 30th 2009, 12:09 AM
zorro
Calculate E[X] and Var[X]
Question : Calculate E[X] and Var[X] when X represents the outcome when a fair die is rolled.
---------------------------------------------------------------------

$Pr(X) = \frac{1}{6}$

$E[X] = \sum_{x=1}^{6} x f(x)$

$Var[X] = E[(X- \mu)^2]$
• December 30th 2009, 12:24 AM
mr fantastic
Quote:

Originally Posted by zorro
Question : Calculate E[X] and Var[X] when X represents the outcome when a fair die is rolled.
---------------------------------------------------------------------

$Pr(X) = \frac{1}{6}$

$E[X] = \sum_{x=1}^{6} x f(x)$

$Var[X] = E[(X- \mu)^2]$

Substitute f(x) and the values of x into the formulas that you have quoted and do the calculations.

• December 30th 2009, 09:15 PM
zorro
I am getting the following results

E[X] = $\frac{10}{3}$

Var[X] = 3.07 .................Is that correct???
• December 30th 2009, 09:35 PM
matheagle
E(x)=3.5
• December 31st 2009, 07:31 AM
pencil09
Quote:

Originally Posted by zorro
Question : Calculate E[X] and Var[X] when X represents the outcome when a fair die is rolled.
---------------------------------------------------------------------

$Pr(X) = \frac{1}{6}$

$E[X] = \sum_{x=1}^{6} x f(x)$

$Var[X] = E[(X- \mu)^2]$

i think you should try to make a probability
x | f(x)
1 | 1/6
2 | 1/6
: | :
: | :
6 | 1/6

then use the formula:
$E[X] = \sum_{x=1}^{6} x f(x)$
$E[X] = 1. f(1)+ 2. f(2)+.....+ 6. f(6)$

hope it help....(Nod)
• December 31st 2009, 08:14 PM
mr fantastic
Quote:

Originally Posted by zorro
I am getting the following results

E[X] = $\frac{10}{3}$

Var[X] = 3.07 .................Is that correct???

I think you know now that the first is not correct (I haven't checked the second).

When I say:
Quote: