View source: R/simulation_settings.R
compare | R Documentation |
Generate simulation data and evaluate estimators, with sample splitting.
compare(n, ex_setting, f_setting, nfold = 5)
n |
integer number of samples. For "401k" ex_setting this is ignored and the whole data set is used. |
ex_setting |
string "normal", "mixture2", "mixture3", "logistic", "t4", "401k". |
f_setting |
string "plm", "additive", "interaction". |
nfold |
integer number of cross-validation folds. |
list containing estimates, standard error estimates, and sample theta (for debugging).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.