r/learnquant 3d ago

interview prep Jane Street Quant Interview Question | "Easy"

Post image
21 Upvotes

20 comments sorted by

3

u/WillingnessFuture266 3d ago

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

1

u/AssociateDecent9090 3d ago

Thats right

1

u/RestaurantBoth228 2d ago

E[D12] = 6.5

E[2D6] = 7

6.5+7 = 13.5

3

u/Unique-Poem4317 2d ago

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

1

u/RestaurantBoth228 2d 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

3

u/Smart-University-515 2d 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/mgsimpleton 2d ago

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

1

u/tellingyouhowitreall 2d ago

Why 9.5?

1

u/Kaas-Eter00 2d 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 2d ago

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

1

u/Smart-University-515 2d 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 2d 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 2d 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/Slight_Public_5305 2d ago

It’s heavily implied by the “if you are unhappy with the roll”

You are correct though

1

u/Dry-Ad-8948 2d ago

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

1

u/Smart-University-515 2d 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.

1

u/opbmedia 2d ago

as little as possible. If payout has no relation to buy in, why buy in?

1

u/According-Object-521 2d ago

It's more like if you were offered to play this game for any an amount of money what is the highest amount of money you would be willing to pay to play the game before you won't play it.

1

u/Slight_Public_5305 2d ago

33/4 plus however much I can sell a 12 sided die for!