Given a sequence of independent random variables with density f we est
imate quantities theta of the form theta = integral phi(f(x))dx, phi a
known function, by inserting histograms and kernel density estimators
for the unknown f. We obtain conditions for consistency and asymptoti
c normality and discuss the choice of cell size and bandwidth.