Open mollyow opened 1 year ago
What's needed for a good R package:
To-do:
Continuing work:
output_estimates()
, this is the case for the gammahats
and contextual_probs
arguments. We should start with these on higher level functions (generate_bandit_data()
, output_estimates()
, run_experiment()
, calculate_mu_hat()
, calculate_balwts()
…). For lower-level functions that we only use inside other functions, the inherited data checks should keep anything from breaking. We may want to consider de-emphasizing documentation for these, and even making them internal only functions by putting a . in front of them (e.g., .check_A()
). output_estimates()
, we impose the .check_A()
function at the start of the function call, and we add to the documentation that it will only work if gammahats
and contextual_probs
are > length 1 and of the same dimensions. @mollyow mu_hat
in banditsCI line 70 with the new function.
References
To-do to get started
/code
for running simulations and generating confidence intervals. Consolidate code and delete everything we don't need.ridge_muhat_lfo_pai()
to LFO estimation; should we do this as a function (not very generalizable) or just write up in the vignette?starting_script.R
right now. @mollyow