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