Fit a doubly-robust partially linear regression using the DoubleML package and pre-tuned XGBoost regressions, for use in simulations.
partially_linear(X, y, g_params, m_params)List containing the linear parameter estimate and the corresponding standard error estimate.
matrix of covariates.
vector of responses.
XGBoost hyperparameters for partially linear regression of y on X.
XGBoost hyperparameters for predictor regression of the first column of X on the others.