Solving exponential utility function with risk taking attitude

Hi,
It would be really helpful if someone can respond on how to solve the Exponential utility function equation in matlab. Here CE can vary from High to Low.
U(x) = A – B*EXP(–x/RT).
where,
A = EXP (–Low/RT) / [EXP (–Low/RT) – EXP (–High/RT)]
B = 1 / [EXP (–Low/RT) – EXP (–High/RT)]
and CE = –RT*LN[(A–EU)/B],

3 Comments

What do you mean by "solve the Exponential utility function equation" ?
And where do CE and EU come into play ?
the first equation is called the Utility Function. An iterative approach to all the three equations needs to be applied but I am not sure how its done.
The unknowns are A, B, RT
But CE can be a value between Hight and Low (variable).
U(x) = A – B*EXP(–x/RT).
where,
A = EXP (–Min(x) / RT) / [EXP (–Min(x) / RT) – EXP (–Max(x) / RT)]
B = 1 / [EXP (–Min(x) / RT) – EXP (–Max(x) / RT)]
and RT= –CE / LN[{ A– (0.5 * U (Max (x))-0.5 * U(Min (x))} / B ]
So you have a vector of values for x and U(x) and you try to determine A, B and RT such that norm(U(x)-(A-B*exp(-x/RT))) is minimized for a given value of CE ?

Sign in to comment.

Answers (0)

Categories

Find more on Parallel Computing Toolbox in Help Center and File Exchange

Products

Release

R2018a

Asked:

on 9 Sep 2022

Commented:

on 9 Sep 2022

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!