View source: R/standard_errors.R
perunitSum | R Documentation |
perunitSum This is a low level function that is used to calculate a value associated with each unit. This value is a weighted summation of the dependent variable, based on the Wit values discussed in Imai et al. (2023)
perunitSum(udf, lead.in, dependent.in, qoi_in)
udf |
data.frame |
lead.in |
integer. A particular lead value |
dependent.in |
string specifying the dependent variable name |
qoi_in |
string specifying the QOI |
Named vector containing the per-unit sums.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.