I am trying to use the Mean command of the Statistics package to calculate the arithmetic mean of a transformed random variable symbolically.
I am using Maple 10.
In my case the Mean command gives an incorrect answer.
First a simple example, which gives me a correct result symbolically:
Mean(X+a);#it gives a, it is ok.
#and here is my more complicated problem:
# it gives me -1 which is obviously incorrect, because of abs().
Originally I wanted to calculate the standard deviation of this expression, it gave me no result, then I just checked the more simple Mean calculation, but it also failed. Perhaps some integration problem?
Thank you for any comment in advance.