Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

get_agg_inf_func

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, inffunc1, whichones, weights.agg, wif = NULL)

Arguments

att

vector of group-time average treatment effects

inffunc1

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


did

Treatment Effects with Multiple Periods and Groups

v2.0.0
GPL-2
Authors
Brantly Callaway [aut, cre], Pedro H. C. Sant'Anna [aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.