Good afternoon, I have to calculate the expected value of a logistic distribution given that the values are above a given constant (lets say 0). So far I have done it numerically by programming a generator of random numbers coming from a logistic distribution and then taking the average of those above 0.

I would like to know if it is possible to have something more accurate.

The expected value is the integral between -inf + inf of x pdf(x)dx. The conditional expected value would be the same integral between 0 and +inf of pdf(x|y)dx ?

Is this pdf possible to calculate?

Thank you very much

I would like to know if it is possible to have something more accurate.

The expected value is the integral between -inf + inf of x pdf(x)dx. The conditional expected value would be the same integral between 0 and +inf of pdf(x|y)dx ?

Is this pdf possible to calculate?

Thank you very much

Last edited: