linearmodels.iv.covariance.kernel_weight_parzen¶
- linearmodels.iv.covariance.kernel_weight_parzen(bw: float, *args: int) ndarray [source]¶
Kernel weights from a Parzen kernel
Notes
\[\begin{split}z_i & = i / (m+1) \\ w_i & = 1-6z_i^2+6z_i^3, z \leq 0.5 \\ w_i & = 2(1-z_i)^3, z > 0.5\end{split}\]