r/learnquant • • 6d ago

interview prep Quant Interview Question

Post image
16 Upvotes

32 comments sorted by

View all comments

1

u/lolcrunchy 6d ago

Wouldnt we need the probability distribution of the number of digits in the expansion, which is undefined?

1

u/A_BagerWhatsMore 6d ago

It’s a uniform distribution. Both uniform distribution and next digit in decimal expansion map nicely onto the same concept, length. So it’s 1/10 for each digit each time.

1

u/lolcrunchy 6d ago

There are 10 one-digit decimals. There are 100 two-digit decimals. You're saying the probability of picking a one-digit decimal is the same as the probability of picking a two-digit decimal?

1

u/A_BagerWhatsMore 6d ago

Well technically yes since we have a 0% chance to get a rational number, but I did misunderstand the question.

1

u/TheRonJonSilver 5d ago

there’s a 0% probability of picking a one-digit decimal. that’s why your intuition is off here.

1

u/dopyuu 6d ago

there is a 0% chance of choosing a rational number