Expected value with maximal domains
Ältere Kommentare anzeigen
I have a Manager who has no information about the profit from investment into two bonds, other than the fact that they are independently drawn from uniform distribution ${m, 1}$ where, m>0. Profit from 1st and 2nd bond are denoted by a and b respectively.
He asks his partner (who is knowledgeable about profit from two bonds but is risk averse) to invest among two bonds. Manager knows that 1st bond is less risky and so partner will invest in a when a>=t*b where 0<t<1. So, basically only when profit from a is very very low, will partner not invest in 1st bond.
Now manager sees that partner has invested in 1st bond so it must be the case that a>=t*b. So, given this information he is trying to compute expected profit.
Since t<1, and both a and b has domain space over m to 1, so it might be the case that t*b falls below m. How to handle that in integration -
I know expected value will look something like this -
So, I asked Matlab to calculate the following -
syms a b m t
inteqn = int(int(a, a, max(t * b, m), 1 ), b, m, 1) / int(1, a, max(t * b, m), 1 );
% Calculate Eaa
disp(inteqn);
But it printed some equation with Nan. What am I doing wrong? Please help.
1 Kommentar
Sabrina Garland
am 15 Mär. 2024
Bearbeitet: Torsten
am 16 Mär. 2024
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Creating and Concatenating Matrices finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


