smooth_erf_locpol: Compute smoothed erf with locpol approach

View source: R/smooth_erf.R

smooth_erf_locpolR Documentation

Compute smoothed erf with locpol approach

Description

Compute smoothed erf with locpol approach

Usage

smooth_erf_locpol(matched_Y, matched_w, matched_cw, x_eval, bw)

Arguments

matched_Y

A vector of outcome value.

matched_w

A vector of treatment value.

matched_cw

A vector of weight or count.

bw

A scaler number indicating the bandwidth.

Value

A vector of smoothed ERF.


CausalGPS documentation built on June 22, 2024, 9:31 a.m.