View source: R/other_methods.R
partially_linear | R Documentation |
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)
X |
matrix of covariates. |
y |
vector of responses. |
g_params |
XGBoost hyperparameters for partially linear regression of y on X. |
m_params |
XGBoost hyperparameters for predictor regression of the first column of X on the others. |
List containing the linear parameter estimate and the corresponding standard error estimate.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.