compare_partially_linear {drape}R Documentation

Generate simulation data and evaluate partially linear estimator.

Description

Generate simulation data and evaluate partially linear estimator.

Usage

compare_partially_linear(n, ex_setting, f_setting)

Arguments

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".

Value

list containing estimate, standard error estimate, and sample theta (for debugging).


[Package drape version 0.0.1 Index]