smooth_erf: Smooth exposure response function

Description Usage Arguments Value

View source: R/smooth_erf.R

Description

Smooths exposure response function based on bandwidth

Usage

1
smooth_erf(matched_Y, bw, matched_w)

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.

Value

Smoothed value of ERF


CausalGPS documentation built on Feb. 7, 2022, 5:12 p.m.