moderndid.ComputeATTgtResult#

class moderndid.ComputeATTgtResult(attgt_list: list[ATTgtResult], influence_functions: sp.csr_matrix)[source]#

Bases: NamedTuple

Container for compute_att_gt results.

Attributes:
attgt_listlist[ATTgtResult]

List of group-time ATT results, one per (group, time) cell.

influence_functionsscipy.sparse.csr_matrix

Sparse matrix of influence functions with shape (n_units, n_group_time_cells).

Methods

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

Attributes

attgt_list

List of group-time ATT results, one per (group, time) cell.

influence_functions

Sparse matrix of influence functions.