This function implements the rule-of-thumb bandwidth selector for the (partial) local polynomial regression.
RoTBWLocalPoly(
Y,
X,
kernT = "epanechnikov",
kernS = "epanechnikov",
C_h = 7,
C_b = 3
)A list that contains two elements.
The rule-of-thumb bandwidth parameter for the treatment/exposure variable.
The rule-of-thumb bandwidth vector for the confounding variables.
The input n-dimensional outcome variable vector.
The input n*(d+1) matrix. The first column of X stores the treatment/exposure variables, while the other d columns are confounding variables.
The names of kernel functions for the treatment/exposure variable and confounding variables. (Default: kernT = "epanechnikov", kernS = "epanechnikov".)
The scaling factors for the rule-of-thumb bandwidth parameters.
Yikun Zhang, yikunzhang@foxmail.com
Zhang, Y., Chen, Y.-C., and Giessing, A. (2024) Nonparametric Inference on Dose-Response Curves Without the Positivity Condition. https://arxiv.org/abs/2405.09003.
Yang, L. and Tschernig, R. (1999). Multivariate Bandwidth Selection for Local Linear Regression. Journal of the Royal Statistical Society Series B: Statistical Methodology, 61(4), 793-815.