w_fun function

Helper function

Helper function

w_fun(bw, matched_w, w_vals)

Arguments

  • bw: bandwidth value
  • matched_w: a vector of continuous exposure variable in matched set.
  • w_vals: a vector of values that you want to calculate the values of the ERF at.

Returns

return value (TODO)