← Questions

Gaps between middle order statistics of uniform samples

0
Scale AICodingLast asked Jan 2021

Draw ten numbers uniformly from [0, 1] and sort them. Compare the gap between the 4th and 5th smallest with the gap between the 5th and 6th. Simulate many draws and build the empirical distribution of each gap, then discuss how you would visualize them and test whether the two distributions are the same (and what theory predicts for gaps between uniform order statistics).

Write and test your solution herePython in your browser, the question's tests level by level, every submission kept for you.Sign in to start coding