Find the mean and the variance of the random variable X with probability function that corresponds to uniform distribution on [0, 4].
Because of the uniform distribution the mean is the middle value, i.e. 2
That probability function would be \[P(x) = 1/4\] So the mean would be \[\bar{x}= \int_0^4xP(x)dx = \frac{1}{4}\int_0^4xdx = 2\] (of course) and the variance is \[\sigma^2= \int_0^4x^2P(x)dx = \frac{1}{4}\int_0^4x^2dx = \frac{16}{3}\]
Ahhh, I see now. Thanks you guys! I appreciate it.
that is not how you calculate the variance.
\[\sigma^2=\int\limits_\Omega(x-\mu)^2 f(x)dx\]
\[\sigma^2=\int\limits_{0}^4(x-2)^2 \frac{1}{4}dx\]
\[=\frac{4}{3}\]
you can also do it this way \[\sigma^2=\mathbb{E}(X^2)-\mathbb{E}(X)^2=\frac{16}{3}-2^2=\frac{4}{3}\]
or just use the formula ..\[\frac{(b-a)^2}{12}\] \[\frac{(4-0)^2}{12}=\frac{16}{12}=\frac{4}{3}\]
Oh, I see now. Thanks for the correction.
no problem
Oh man, brain fart. Sorry about that, thanks Zarkon :)
Join our real-time social learning platform and learn together with your friends!