mean_psi
function for sample expectation of psi
mean_psi(X, Y, theta, quant = NA, method)
sample expectation of psi
Array or data.frame containing covariates
Array or data.frame of outcomes
parameter theta
quantile for quantile estimation
indicates the method to be used for M-estimation. Options include "mean", "quantile", "ols", "logistic", and "poisson".