I am trying to find the expectation of a relatively simple expression under a lognormal distribution with mean [Mu] - [Sigma]^2/2 and variance [Sigma]^2 , but it hangs for a long while and eventually returns the original question:
In[36]:= Expectation[(2 Sqrt[x])/(x + 1) - 1,
x \[Distributed]
LogNormalDistribution[ (\[Mu] - \[Sigma]^2/2), \[Sigma]]]
Out[36]= Expectation[-1 + (2 Sqrt[x])/(1 + x),
x \[Distributed]
LogNormalDistribution[\[Mu] - \[Sigma]^2/2, \[Sigma]]]
I have tried putting an Abs[] around the Sqrt[] to only take the positive root just in case that was the issue, without success. I have also tried adding Assumptions to the effect that x>0, [Sigma] > 0 but that made no difference.
Any pointers greatly appreciated!
LogNormalDistribution[\[Mu] - \[Sigma]^2/2, \[Sigma]]
? I ask because the mean of that distribution is $e^\mu$ and the variance is $\left(e^{\sigma^2}-1\right) e^{2 \left(m-\frac{\sigma^2}{2}\right)+\sigma^2}$ (not $\sigma^2$). In other words your first sentence talks about the two values listed as if those are the mean and variance. But the way Mathematica parameterizes things, those are just the two parameters. $\endgroup$