Show that the $n$ th order statistic of a random sample of size $n$ from the uniform distribution having pdf $f(x ; \theta)=1 / \theta, 0<x<\theta, 0<\theta<\infty$, zero elsewhere, is a sufficient statistic for $\theta$. Generalize this result by considering the pdf $f(x ; \theta)=Q(\theta) M(x), 0<x<\theta, 0<\theta<\infty$, zero elsewhere. Here, of course,
$$
\int_{0}^{\theta} M(x) d x=\frac{1}{Q(\theta)}
$$