I'm having a hell of a time figuring out why Matlab disagrees with my hand calcs and Wolfram Alpha about the expectation of an exp(1/2) distribution.
By my hand calcs (which are pretty simple), and according to Wolfram, the expectation(mean) of an exp(1/2) is = 2. Makes sense.
However, in Matlab, whether I simulate the result or just use expstat(1/2), it keeps telling me that the mean is 0.5.
What does this mean?