@@ -34,9 +34,9 @@ class DiDResults:
3434 n_obs : int
3535 Number of observations used in estimation.
3636 n_treated : int
37- Number of treated units .
37+ Number of treated observations .
3838 n_control : int
39- Number of control units .
39+ Number of control observations .
4040 """
4141
4242 att : float
@@ -93,8 +93,8 @@ def summary(self, alpha: Optional[float] = None) -> str:
9393 "=" * 70 ,
9494 "" ,
9595 f"{ 'Observations:' :<25} { self .n_obs :>10} " ,
96- f"{ 'Treated units :' :<25} { self .n_treated :>10} " ,
97- f"{ 'Control units :' :<25} { self .n_control :>10} " ,
96+ f"{ 'Treated obs :' :<25} { self .n_treated :>10} " ,
97+ f"{ 'Control obs :' :<25} { self .n_control :>10} " ,
9898 ]
9999
100100 if self .r_squared is not None :
@@ -645,9 +645,9 @@ class SyntheticDiDResults:
645645 n_obs : int
646646 Number of observations used in estimation.
647647 n_treated : int
648- Number of treated units .
648+ Number of treated observations .
649649 n_control : int
650- Number of control units .
650+ Number of control observations .
651651 unit_weights : dict
652652 Dictionary mapping control unit IDs to their synthetic weights.
653653 time_weights : dict
@@ -714,8 +714,8 @@ def summary(self, alpha: Optional[float] = None) -> str:
714714 "=" * 75 ,
715715 "" ,
716716 f"{ 'Observations:' :<25} { self .n_obs :>10} " ,
717- f"{ 'Treated units :' :<25} { self .n_treated :>10} " ,
718- f"{ 'Control units :' :<25} { self .n_control :>10} " ,
717+ f"{ 'Treated obs :' :<25} { self .n_treated :>10} " ,
718+ f"{ 'Control obs :' :<25} { self .n_control :>10} " ,
719719 f"{ 'Pre-treatment periods:' :<25} { len (self .pre_periods ):>10} " ,
720720 f"{ 'Post-treatment periods:' :<25} { len (self .post_periods ):>10} " ,
721721 ]
0 commit comments