Discretely Uniform
Approximating dNs and card draws
Have you ever had a problem with a a dN where it would be easier to calculate if it were a uniform distribution? Outside of quant/trader interviews, the answer is probably a hard NO. Nonetheless, I will share my interview ~alpha~ on this blog.
For napkin math approaches to problems (think fast math market making games etc.), we can treat discrete distributions of the form
as a continuous uniform distribution
What we’ve essentially done here is treat the discrete value of the original distribution as the center of equally spaced uniform distributions. This preserves the mean of the original distribution and (roughly speaking) the variance as well. The larger the distribution, the more accurately this preserves the variance as the error term is something on the lines of O(1/n^2) where n is the number of discrete outcomes in your original distribution. This is based on the midpoint rule1 which is a pretty common numerical integration method. In short, you approximate an integral by replacing the curve with rectangles whose heights are measured at the midpoints of subintervals.
Putting it to use
Anyway, let’s actually use this in practice now with a few example questions:
Suppose that you roll a d6 three times, what is the expected value of the minimum of these three rolls?
We can use our midpoint approximation along with k-th ordered statistics to approximate this. For n items drawn from a uniform distribution, we expect the smallest to be 1/(n+1)th of the way along the distribution which gives us:
And now for the exact:
Suppose that we pull out 10 cards (with replacement) from a 52 card deck where A-K is represented as 1-13. What is the fair value of the absolute value of the sum of the 10 cards drawn and 70. In other words, what is the fair value of the 70 strike straddle?
For this, some basic options knowledge comes into play. Recall that the price of an ATM straddle is
We know that the sigma * sqrt(T) * forward component is just the standard deviation, and thus we get:
Also, recall that the variance of a Uniform distribution:
Alright, now tying together our straddle approximation of 4/5ths of the standard deviation and treating the cards as uniform we get (remember there are approximations in here):
Note that we rounded down our 9.6 to 9.5 because 4/5 is slightly over sqrt(2/pi) and also the sqrt(141) is a little bit less than 12 (a second reminder that this is a fast math approximation).
And for the actual we have:
Note that we are able to simply the expression due to symmetry. And apologies for the awkward break into multiple lines for those on desktop, but this is the only way I can get it to fit on the mobile screen!


