get_agg_inf_func: Recover Aggregated Influence Function

View source: R/pte_aggte.R

get_agg_inf_funcR Documentation

Recover Aggregated Influence Function

Description

Recover Aggregated Influence Function

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


ptetools documentation built on April 12, 2025, 1:28 a.m.