This function generates the gamma moments from a population level data set. This is specifically constructed to carry out tests.
genGammaTT(data, s0, s1, lb, ub)
data.table.
variable name (contained in the data) for the S-weight used to generate the Gamma moments for the control group.
variable name (contained in the data) for the S-weight used to generate the Gamma moments for the treated group.
scalar, lower bound for integration.
scalar, upper bound for integration.
list, contains the vectors of the Gamma moments for control and treated observations.