perunitSum: perunitSum This is a low level function that is used to...

View source: R/standard_errors.R

perunitSumR 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.


PanelMatch documentation built on June 22, 2024, 10:32 a.m.