Skip to content

Commit 08822e1

Browse files
igerberclaude
andcommitted
Fix StaggeredTripleDifference unpack for 3-tuple _aggregate_simple return
_aggregate_simple() now returns (att, se, effective_df). Update the StaggeredTripleDifference caller to unpack the third element. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 9086114 commit 08822e1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

diff_diff/staggered_triple_diff.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ def fit(
442442
df_agg.loc[df_agg[eligibility] == 0, "first_treat"] = 0
443443

444444
# Overall ATT via aggregation mixin
445-
overall_att, overall_se = self._aggregate_simple(
445+
overall_att, overall_se, _effective_df = self._aggregate_simple(
446446
group_time_effects, influence_func_info, df_agg, unit, precomputed_agg
447447
)
448448
overall_t_stat, overall_p_value, overall_conf_int = safe_inference(

0 commit comments

Comments
 (0)