Skip to content

Instantly share code, notes, and snippets.

@g-leech
Created August 20, 2019 14:28
Embed
What would you like to do?
Kelly bound on house insurance premium
import numpy as np
probability = 1/10000
wealth = 120000
houseValue = 100000
bound = probability * np.log(wealth - houseValue) \
+ (1 - probability) * np.log(wealth)
maxPremium = wealth - np.exp(bound)
maxPremium
# 21.499187504436122
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment