estimate_hat_vals {CausalGPS} | R Documentation |
Estimates the fitted values based on bandwidth value
estimate_hat_vals(bw, matched_w, w_vals)
bw |
The bandwidth value. |
matched_w |
A vector of continuous exposure variable in the matched set. |
w_vals |
A vector of values that you want to calculate the values of the ERF at. |
Returns fitted values, or the prediction made by the model for each observation.