Problem 5.2 Mean and variance of a kernel density estimate
In this problem, we will study the mean and variance of the kernel density estimate, i.e., the distribution p^(x). Let X={x1,⋯,xn} be the set of samples, and k~(x) be the kernel with bandwidth included. The estimated probability distribution is
p^(x)=n1∑∗i=1nk~(x−xi).(5.5)
Suppose that the kernel function k~(x) has zero mean and covariance H, i.e.,
E∗k~[x]=∫k~(x)xdx=0,(5.6)
covk~(x)=∫k~(x)(x−Ek~[x])(x−E_k~[x])Tdx=H.(5.7)
(b) Show that the covariance of the distribution p^(x) is
Σ^=covp^(x)=H+n1∑i=1n(xi−μ^)(xi−μ^)T,(5.9)
where the second term on the right hand side is the sample covariance.