For each element of x, compute the probability density function (PDF) at x of the empirical distribution obtained from the univariate sample data.