synthesize: Generate synthetic sample of a policy

Description Usage Arguments Value

Description

Generate synthetic sample of a policy

Usage

1
synthesize(pol, seed = round(stats::runif(1) * 10000))

Arguments

pol

policy object

seed

(Optional) random seed to set before generating synthetic observations

Value

new policy object with the treatment and outcome columns in $data updated with synthetic samples based on estimated values of ptrt__, resp_ctl__, and resp_trt__


jongbinjung/undi documentation built on May 8, 2019, 11:56 p.m.