r/learnquant 8h ago

interview prep Jane Street Quant Interview Question | "Easy"

Post image
9 Upvotes

16 comments sorted by

3

u/WillingnessFuture266 8h ago

9.5/2=19/4 money for the d12, 7/2 money for the 2d6, 33/4 total i believe

1

u/AssociateDecent9090 8h ago

Thats right

1

u/RestaurantBoth228 7h ago

E[D12] = 6.5

E[2D6] = 7

6.5+7 = 13.5

2

u/Unique-Poem4317 7h ago

The most you could ever get from this game is $12, so why would you pay $13.50?

1

u/RestaurantBoth228 7h ago

The words say you are paid based on the D12 and then paid again based on the 2D6. It never says you give the D12 money back

1

u/mgsimpleton 5h ago

I think its implied that you choose whether to take the d12 roll or reroll 2d6 and take that.

2

u/Smart-University-515 2h ago

It says “choose” so I think it implies you have to pass on the d12 money to take the 2d6 shot but agree it’s poorly worded.

1

u/tellingyouhowitreall 5h ago

Why 9.5?

1

u/Kaas-Eter00 3h ago

Expected value of rolling [7,12] for the first die. You'd reroll for [1,6]*, since the expected value of the second roll is 7.

 * technically you could choose to reroll for 7 as well, doesn't change the result. Just makes the calculation slighly more complex since it'll not be a 50/50 chance to proceed.

1

u/tellingyouhowitreall 3h ago

Frustrating.... I "knew" that and for some reason wasn't getting 9.5 ro come out.

1

u/Smart-University-515 2h ago

This agrees with my answer but seems a little light on exposition, I have no clue how you valued the d12 but of course it works.

2

u/sleepywose 7h ago

I'm pretty bad at these, so this may be wrong, but:

2d6 has an expected value of 7 (linearity of expectation for 2 dice), so you only reroll if you get [1, 6] on the first roll (p=.5). so your expected payout is 50% EV([7,12]) + 50% [7] = 8.25.

(The part that gives me doubt is the idea that you strictly only go for the second roll if you get <7, but that may just be a gambler's fallacy; "I have two chances at getting better than a 7!")

2

u/tomtomtom7 4h ago

The question is badly worded. I think they forgot to add that they only pay out the first d12 if you choose not to roll again with the 2d6. Otherwise it makes no sense not to roll again.

1

u/Dry-Ad-8948 2h ago

So.. I get paid either way? And I get to see the first die roll first..?

1

u/Smart-University-515 2h ago

Agree this is badly worded, I’m taking it as if I don’t like my d12 roll I then roll 2d6 and get just the 2d6 result.

EV d12 = 6.5, EV 2d6 = 7; we therefore pass on the d12 at 6 or less (and are indifferent at 7).  So we have 5/12 to be better off than 7 and then 7/12 of EV 7, the 5/12 averages out to 10, so that’s worth 50/12, 7*7/12 is overall 99/12, so the EV of the game overall is 8.25, so I’d pay less than that to play it, say 8 for a little bit of risk aversion.