Smooths exposure response function based on bandwidth
smooth_erf(matched_Y, bw, matched_w, matched_cw, x_eval, kernel_appr)Smoothed value of ERF
A vector of the outcome variable in the matched set.
The bandwidth value.
A vector of continuous exposure variable in the matched set.
A vector of counter or weight variable in the matched set.
Internal kernel approach. Available options are locpol
and kernsmooth.