A probability density function must be nonnegative. The printed condition is therefore too weak: for the given prefactor makes the function negative everywhere. The location-scale form of the logistic distribution requires , which is assumed in the remaining parts.
Set , so . The normalization of a probability distribution follows from the antiderivative of the squared hyperbolic secant:For completeness, the same expression with integrates to , since the transformed limits reverse. If a signed scale were desired, replacing its prefactor by would give a valid density, but that is a correction to the printed formula.
For , integrate the probability density function to obtain the cumulative distribution functionIf , the requested probability is . Since the hyperbolic tangent is odd, this givesThe second case matters because the question places no sign restriction on : the event is empty when its upper endpoint is nonpositive. Using an oriented integral from to a negative would give a negative number, not a probability.
The same integration by substitution gives the expected valueThe remaining integrand is an odd function. Its integral is absolutely convergent, since and is integrable. Thus cancellation under symmetry in integration is legitimate, rather than merely a principal-value calculation. ConsequentlyEquivalently, the logistic distribution is symmetric about , and its exponentially decaying tails ensure that its expected value exists.
Articles by others on the same topic
There are currently no matching articles.