Generate simulation data and evaluate OLS estimator.
compare_lm(n, ex_setting, f_setting)
list containing estimate, standard error estimate, 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".