Jump to content

Help with finding median of continous probability density function?


aahmedov

Recommended Posts

I'm not doing that option, but I'm bored and will therefore give it a try anyway.

Let X be the random variable whose probability density is given by f(x).

The probability that a≤X≤b is equal to the integral of f(x) from a to b.

The probability that X is between 0 and the median value is equal to 0.5.

The integral of f(x) is (x2/10) when 0≤x≤2 and -8/5x when 2≤x≤8.

The integral of f(x) from 0 to 2 is then equal to (22/10)-(0/10) = 0.4

Let u be the median value. We now know that the integral of f(x) from 2 to u is equal to 0.1 (as 0.1+0.4 = 0.5).

Hence (-8/5u) - (-8/10) = 0.1

Solving this equation gives u = 80/35.

So the median is 80/35 which is 2.29 to three significant figures.

I hope I didn't mess up there :P

Edited by Sammie Backman
Link to post
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...