Generate simulation data and evaluate estimators, with sample splitting.
compare(n, ex_setting, f_setting, nfold = 5)
list containing estimates, standard error estimates, and sample theta (for debugging).
integer number of samples. For "401k" ex_setting this is ignored and the whole data set is used.
string "normal", "mixture2", "mixture3", "logistic", "t4", "401k".
string "plm", "additive", "interaction".
integer number of cross-validation folds.