get_agg_inf_func {triplediff}R Documentation

Get an influence function for particular aggregate parameters

Description

Get an influence function for particular aggregate parameters

This is a generic internal function for combining influence functions across ATT(g,t)'s to return an influence function for various aggregated treatment effect parameters.

Usage

get_agg_inf_func(att, inf_func, whichones, weights_agg, wif = NULL)

Arguments

att

vector of group-time average treatment effects

inf_func

influence function for all group-time average treatment effects (matrix)

whichones

which elements of att will be used to compute the aggregated treatment effect parameter

weights_agg

the weights to apply to each element of att(whichones); should have the same dimension as att(whichones)

wif

extra influence function term coming from estimating the weights; should be n x k matrix where k is dimension of whichones

Value

nx1 influence function


[Package triplediff version 0.1.0 Index]