perunitSum_Dit Similar to perunitSum, this is a low level helper function for calculating specific values defined in Imai et al. (2023). This focuses on Dit rather than Wit
perunitSum_Dit(udf, qoi_in)
Named vector containing the per-unit sums.
data.frame
string specifying the QOI