perunitSum {PanelMatch} | 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)
Description
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)
Usage
perunitSum(udf, lead.in, dependent.in, qoi_in)
Arguments
udf |
data.frame |
lead.in |
integer. A particular lead value |
dependent.in |
string specifying the dependent variable name |
qoi_in |
string specifying the QOI |
Value
Named vector containing the per-unit sums.
[Package PanelMatch version 2.2.0 Index]