A
function for the calculation of the matrix A based on single dataset
A(X, Y, quant = NA, theta, method)
matrix A based on single dataset
Array or data.frame containing covariates
Array or data.frame of outcomes
quantile for quantile estimation
parameter theta
indicates the method to be used for M-estimation. Options include "mean", "quantile", "ols", "logistic", and "poisson".