The Student Room Group

probability distribution help please

Scroll to see replies

Is it like this?
Original post by farhanaktar
Is it like this?


Nope. Refer back to how expectation is defined for a continuous random variable.
15752113518312360447286206442386.jpg
Original post by farhanaktar
...


Thats also incorrect. Why are you integrating from -infinity ?? The pdf you use in the integrand is only valid for x>0.

And why are you omitting sigma ??

And again, you should look at how expectation is defined because you are not using the definition right now.
Is it 0 and 1 then
The integral values should be 0 and 2 then am I right sorry to disturb you15752123167534149930337993407169.jpg
Do I have to include sigma then
Original post by farhanaktar
Do I have to include sigma then


Of course, the original problem has it as a parameter!

Original post by farhanaktar
The integral values should be 0 and 2 then am I right sorry to disturb you


Alright enough guessing.

If XX is a half normal distribution derived from the normal distribution with mean of zero and variance σ2\sigma^2, then it has pdf of
Unparseable latex formula:

f(x) = \begin{cases} 0 & \text{if} \ x < 0 \\ \dfrac{2}{\sigma\sqrt{2\pi}}e^{-\frac{x^2}{2\sigma^2}} & \text{if} \ x\geq 0

.

Hence the expectation is given by

xf(x).dx\displaystyle \int_{-\infty}^{\infty} xf(x).dx but since f(x)=0f(x) = 0 for x<0x<0, this integral reduces to

E[X]=0x2σ2πex22σ2.dx\displaystyle \mathbb{E}[X] = \int_0^{\infty} x \dfrac{2}{\sigma\sqrt{2\pi}}e^{-\frac{x^2}{2\sigma^2}}.dx

which I will leave to you to calculate.
(edited 4 years ago)
Reply 28
should I substitute 1 for the sigma and then makes it easier to integrate
Original post by zulhaq345
should I substitute 1 for the sigma and then makes it easier to integrate


No
Is this fine and should I place sigma if you think is wrong.15752163946741524058377936002898.jpg
Original post by farhanaktar
Is this fine and should I place sigma if you think is wrong.


It's not fine because sigma is not necessarily 1.

I've made that clear in my previous comment yet you still made it 1 ?
Is this fine now I placed the sigma1575216839385403438718243583978.jpg
Reply 33
oh ok. sorry bro
Original post by farhanaktar
Is this fine now I placed the sigma


It's fine at first and you got the right substitution... but the integral in uu is incorrect. You need to replace xdxxdx by the appropriate expression in uu and dudu.
Would you mind circling the error please. I don't get it. Thank you do much for helping me out

Quick Reply

Latest