Consider a random sample XX of size nn from the uniform distribution on the interval [0,1][0,1]. The distribution of X(k)X(k) is the beta distribution, with left parameter kk and right parameter n−k+1n−k+1. The probability density function fkfk is given by