Man pages for drape
Doubly Robust Average Partial Effects

basis_polyEstimate the score function of the d'th covariate using a...
compareGenerate simulation data and evaluate estimators, with sample...
compare_evaluateEvaluate estimators by training nuisance functions on...
compare_lmGenerate simulation data and evaluate OLS estimator.
compare_partially_linearGenerate simulation data and evaluate partially linear...
compare_rothenhauslerGenerate simulation data and evaluate Rothenhausler...
cv_resmoothK-fold cross-validation for resmoothing bandwidth.
cv_spline_scoreK-fold cross-validation for spline_score.
drapeEstimate the doubly-robust average partial effect estimate of...
fit_lasso_polyFit a lasso regression using quadratic polynomial basis, with...
fit_xgboostFit pre-tuned XGBoost regression for use in simulations.
MC_sumsCompute sums of a Monte Carlo vector for use in resmoothing.
mixture_scorePopulation score function for the symmetric mixture two...
new_XGenerate a matrix of covariates for use in resmoothing, in...
ng_pseudo_responseGenerate pseudo responses as in Ng 1994 to enable univariate...
partially_linearFit a doubly-robust partially linear regression using the...
resmoothResmooth the predictions of a fitted model
rmixtureSymmetric mixture two Gaussian random variables.
rothenhausler_basisGenerate the modified quadratic basis of Rothenhausler and...
rothenhausler_yuEstimate the average partial effect of using the debiased...
simulate_dataGenerate simulation data.
sort_binSort and bin x within a specified tolerance, using hist().
spline_scoreUnivariate score estimation via the smoothing spline method...
z_correlated_normalGenerate n copies of Z ~ N_{p}(0,Sigma), where Sigma_{jj} =...
drape documentation built on April 3, 2025, 9:23 p.m.