View source: R/simulation_settings.R
compare_evaluate | R Documentation |
Evaluate estimators by training nuisance functions on training set and evaluating them on test set.
compare_evaluate(train, test, ex_setting, f_setting, regression, sm_bw_out)
train |
list containing vector of responses y and matrix of predictors X = (x,z). |
test |
list containing vector of responses y and matrix of predictors X = (x,z). |
ex_setting |
string "normal", "mixture2", "mixture3", "logistic", "t4", "401k". |
f_setting |
string "plm", "additive", "interaction". |
regression |
Optional fitted regression. |
sm_bw_out |
Output of cv_resmooth. |
list containing f, df, and score estimates evaluated on the test set.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.