Estimating the Upper Endpoint of a Uniform Distribution

Reported in interviews at Five Rings Squarepoint Capital

Problem statement

You observe $X_1, \ldots, X_n$ drawn independently and uniformly from $[0, \theta]$, where $\theta$ is unknown. How would you estimate $\theta$? Discuss the natural estimators and which one is best.

Show hint

What does the likelihood look like as a function of $\theta$ when $\theta$ controls where the support ends?

Relevant roles: Data Scientist, Applied Scientist and ML Engineer.

Related free problems