Abstract
It is often necessary to test whether X,…, Xn are from a certain density f(x) or not. Most test statistics such as the Kolmogorov-Smirnov, Cramer-von Mises, and Anderson-Darling statistics are based on the empirical distribution function F(x). In this paper we suggest a test statistic based on the integrated squared error of the kernel density estimator. We derive the asymptotic distribution of the statistic under the null and alternative hypothesis. Some simulation results for power comparisons are also given.