def density_var(self, density, nobs):
        return np.asarray(density) * self.L2Norm / self.h / nobs
approximate pointwise variance for kernel density
dataset/ETHPy150Open statsmodels/statsmodels/statsmodels/sandbox/nonparametric/kernels.py/CustomKernel.density_var