pred.smooth: Nonparametric conditional mean

Description Usage Arguments Value Author(s) References

View source: R/SBdecomp.R

Description

Calculates expected outcome given a single predictor (conditional mean) using a nonparametric kernel estimator

Usage

1
pred.smooth(zz, zi.one, bw = NULL, y1, weight = NULL)

Arguments

zz

predictor; conditional mean function is applied to this predictor to produce predicted outcome

zi.one

predictor; used to estimate conditional mean function (often same as zz)

bw

bandwidth

y1

outcome

weight

weight

Value

expected outcome given predictor

Author(s)

Layla Parast

References

Parast, L and Griffin, BA (2020). "Quantifying the Bias due to Observed Individual Confounders in Causal Treatment Effect Estimates." Statistics in Medicine, In press.


SBdecomp documentation built on Nov. 15, 2021, 5:09 p.m.