mean_psi_pop
function for sample expectation of PSPA psi
mean_psi_pop(
X_lab,
X_unlab,
Y_lab,
Yhat_lab,
Yhat_unlab,
w,
theta,
quant = NA,
method
)
sample expectation of PSPA psi
Array or data.frame containing observed covariates in labeled data.
Array or data.frame containing observed or predicted covariates in unlabeled data.
Array or data.frame of observed outcomes in labeled data.
Array or data.frame of predicted outcomes in labeled data.
Array or data.frame of predicted outcomes in unlabeled data.
weights vector PSPA linear regression (d-dimensional, where d equals the number of covariates).
parameter theta
quantile for quantile estimation
indicates the method to be used for M-estimation. Options include "mean", "quantile", "ols", "logistic", and "poisson".