I didn't say they won't understand it, they'll just consider the applicant too stupid to understand the problem they presented: grow the bankroll.Any interviewer that DOESN'T understand that is an indication the firm is too stupid to work for.
I didn't say they won't understand it, they'll just consider the applicant too stupid to understand the problem they presented: grow the bankroll.Any interviewer that DOESN'T understand that is an indication the firm is too stupid to work for.
I didn't say they won't understand it, they'll just consider the applicant too stupid to understand the problem they presented: grow the bankroll.
I didn't say they won't understand it, they'll just consider the applicant too stupid to understand the problem they presented: grow the bankroll.
I have seen this type of game offered as a promotion from betting sites like Bodog. For example, "Open a new account and bet up to $1000 on the Super Bowl money line. If you lose, we'll cover your loss."Try to remember: this is not a real casino game. It exists only because the interviewers made it up. I doubt any real-life casino anywhere has offered anything like this game Ever. So good luck explaining to the interviewers how you blew your bankroll on the last spin because you were trying to maximize your at-home net worth instead of maximizing your bankroll.
Hey markettimer, I have a question. What you have advocated is maximizing the log of the sum of the liferoll and the bankroll:
Utility = Max[E(Log(L+B))]
where
L is the liferoll,
B is the bankroll
But the notion of geometric growth is meaningful in terms of getting from the starting wealth W(0) to the terminal wealth W(N), such as in this:
Utility = Max[E(Log(W(N) / W(0)))]
So, shouldn't our utility function look like this instead:
Utility = Max[E(Log((L+B) / L))] = Max[E(Log(1 + B/L))]
They are equivalent. W(0) is just a constant.
Max E[log(W(N)/W(0))] is the same problem as max E[log(W(N))]. You can pull W(0) out of the logarithm as follows:
E[log(W(N)/W(0))] = E[log(W(N)] - log(W(0))
Note that argmax f(x) + constant is the same as argmax f(x).
In other words, on spin ten, you have bankroll B_9 (B_9 being the bankroll after the ninth spin) and outside wealth W (total wealth W+B_9). You want to maximize E[log(W+B_10)]. B_10 is a distribution that depends on how B_9 is allocated. This is a straightforward maximization problem where you simply choose allocation fractions xj_10, how to allocate B_9 across the j possible bets on the wheel for the 10th spin.
Now, working recursively, you would solve for the allocation fractions on the ninth spin, starting with bankroll B_8. And so onâ¦
Nonlinear5, the recursive solution avoids the combinatorial explosion. The way it is implemented is via a Bellman equation (more here: http://en.wikipedia.org/wiki/Bellman_equation).
Essentially, the goal is to solve for the optimal allocation on the final spin as a function of W and B_9. Then plug this solution into the objective function, E[log(x)], to calculate expected terminal log wealth as a function of B_9 and W. Let's call this V_10(W, B_9).
In other words, V_10(W,B_9) = max E[log(W+B_10)], given W and B_9.
On the final spin, the solution is to bet everything on R-16 when B_9 is small relative to W. However, the optimal allocation changes (becomes lower risk, lower return) as B_9 grows larger relative to W. Therefore, for any given W, V_10(W,B_9) is concave in B_9.
Once V_10(W,B_9) is known, you can solve the 9th spin problem. I'll use V_9(W,B_8) to denote the maximization problem on the 9th spin, and here you can see the recursion begin:
V_9(W,B_8) = max E[V_10(W,B_9)]
In summary, on any spin, the goal is to find the optimal allocation as a function of bankroll, then solve for the expected log wealth given this bankroll. Using this Bellman solution avoids the combinatorial explosion, since the computation time grows linearly, not exponentially, with number of spins.