LocalPolynomialConfig
rdd.LocalPolynomialConfig(
bandwidth: float,
kernel: Kernel = Kernel.EPANECHNIKOV,
degree: int = 1,
)Local-polynomial smoothing settings.
Use an instance as the local_polynomial_config argument of estimate_rdd_distribution_effects.
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| bandwidth | float |
Bandwidth for the local-linear distribution regressions. Must be positive and finite. | required |
| kernel | Kernel |
Kernel used to weight observations around the cutoff. | Kernel.EPANECHNIKOV |
| degree | int |
Degree of the local polynomial. 1 is local linear, 2 is local quadratic (the CHS bias-corrected fit). |
1 |