resample_fn: Resample ATEs.

Description Usage Arguments Value

View source: R/resample_joint_distn.R

Description

Resample ATEs.

Usage

1
2
resample_fn(dat, ypredfn = NULL, dpredfn, B, ate_list, outcome_fm, ps_fm,
  ps_fam, outcome_fam, cov_ids)

Arguments

dat

data frame for analysis.

ypredfn

function to predict y, mostly deprecated, default is NULL.

dpredfn

function to predict the ATE used to demean data.

B

number of bootstrap replications.

ate_list

list of ATE functions.

outcome_fm

outcome formula.

ps_fm

propensity score formula.

ps_fam

propensity score family.

outcome_fam

outcome family.

cov_ids

names of covariates for matching/balancing.

Value

list of tibbles of resampled data.


denisagniel/synthate documentation built on April 16, 2020, 12:45 a.m.