moderndid.ComputeATTgtResult#
- class moderndid.ComputeATTgtResult(attgt_list: list[ATTgtResult], influence_functions: sp.csr_matrix)[source]#
Bases:
NamedTupleContainer for compute_att_gt results.
- Attributes:
- attgt_list
list[ATTgtResult] List of group-time ATT results, one per (group, time) cell.
- influence_functions
scipy.sparse.csr_matrix Sparse matrix of influence functions with shape (n_units, n_group_time_cells).
- attgt_list
Methods
count(value, /)Return number of occurrences of value.
index(value[, start, stop])Return first index of value.
Attributes
List of group-time ATT results, one per (group, time) cell.
Sparse matrix of influence functions.