Hello again. Some minor typos in Asset Pricing with Incomplete Markets
For the pessimists' beliefs, you copied the optimists' beliefs.
For price_optimistic_beliefs() (and pessimistic) you specify tol=1e-16 in during inputs but the code compares to 1e-12. Also there seems to be no need to pre-assign p_old before the loop starts.
I didn't quite get why the price of the asset had to be weakly greater than 1, as the code assumes. What's the intuition for this restriction?
Hello again. Some minor typos in Asset Pricing with Incomplete Markets
For the pessimists' beliefs, you copied the optimists' beliefs.
For
price_optimistic_beliefs()
(and pessimistic) you specifytol=1e-16
in during inputs but the code compares to1e-12
. Also there seems to be no need to pre-assignp_old
before the loop starts.I didn't quite get why the price of the asset had to be weakly greater than 1, as the code assumes. What's the intuition for this restriction?
Thanks as always.