smooth_erf: Smooth exposure response function

View source: R/smooth_erf.R

smooth_erfR Documentation

Smooth exposure response function

Description

Smooths exposure response function based on bandwidth

Usage

smooth_erf(matched_Y, bw, matched_w, matched_cw)

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.

Value

Smoothed value of ERF


wxwx1993/GPSmatching documentation built on March 1, 2023, 9:32 p.m.