smooth_erf {CausalGPS} | R Documentation |
Smooth exposure response function
Description
Smooths exposure response function based on bandwidth
Usage
smooth_erf(matched_Y, bw, matched_w, matched_cw, x_eval, kernel_appr)
Arguments
matched_Y |
A vector of the outcome variable in the matched set. |
bw |
The bandwidth value. |
matched_w |
A vector of continuous exposure variable in the matched set. |
matched_cw |
A vector of counter or weight variable in the matched set. |
kernel_appr |
Internal kernel approach. Available options are |
Value
Smoothed value of ERF
[Package CausalGPS version 0.5.0 Index]