Hi all,
I made a function in MATLAB that computes the Certainty equivalent of a gamble for a Power utility function, including logarithmic utility (power utility with aversion = 1).
You need to give your bankroll, risk aversion, the EV of the distribution, and the number of terms you want to include to approximate the infinite summation in the expression.
If your familiar with using MATLAB, you can write your own function which calculates the central moments of the distribution of outcomes. If the outcomes are Gaussian, the program calculates the central moments for you.
I had a great time deriving the exact formula for certainty equivalent, it was real interesting to see the formula develop as the EV of the gamble minus a penalty for variation in the payout. Really cool.
If anyone wants the MATLAB source, or the stand-alone version, I'd like you to have it. email me. Attack it and let me know if its working properly. I would be very appreciative if someone could give it a try on something like video poker where the distribution of one hour's results may not be normal. I'm not familiar with the number of hands that a game like FPDW normally must be played to consider the results to be approximately normal.
Also, got Theory of Blackjack yesterday. looks awesome i think.

