meta_learner_tests: helper function for result comparison

Description Usage Arguments

View source: R/utils.R

Description

helper function to check if the learned tau_hat is within some bounded error from the groundtruth

Usage

1
meta_learner_tests(tau_hat, sim_data, mse = 0.01)

Arguments

tau_hat

user-supplied treatment effect estimate

sim_data

simulated groundtruth data

mse

user-supplied error tolerance


xnie/rlearner documentation built on April 11, 2021, 12:49 a.m.