This function rescales the matrix of covariates used in the direct regression to improve the conditioning number and the stability of the estimation procedure.
rescaleX(sset, dVec, drY, drN)
a list of lists constructed from the function genSSet. In the case of a direct regression, 'sset' contains only one inner list. This list contains the gamma moment at the individual level.
Vector of treatment statuses from the data.
Vector of outcomes from the data.
Scalar, number of observations in the data.
List of rescaled covariates.