You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would fix it by modifying subset function in causal.py
def subset(p_low, p_high):
# deal with first non-single-point segment separately
# to include vanishing pscore units within it
if p_low == 0 and p_high != 0:
return (p_low <= pscore) & (pscore <= p_high)
else:
return (p_low < pscore) & (pscore <= p_high)
I think that pscore=0 units should be included in this segment rather than in (0, 0] or [0, 0] segments.
This happens regardless of trimming.
Summary Statistics
There are 453 control units and 547 treatment units
minimum propensity score = 0.0
number of units with null propensity score = 446
stratify using implemented algorithm
blocks [0, 1]
Stratification Summary
Stratum Min. Max. Controls Treated Controls Treated Raw-diff
Why 7 controls only?!
stratify using a single segment [0, 1]
blocks [0, 1]
Stratification Summary
Stratum Min. Max. Controls Treated Controls Treated Raw-diff
Why 7 controls only?!
Replace null scores with 1e-100
minimum propensity score = 1e-100
blocks [0, 1]
Stratification Summary
Stratum Min. Max. Controls Treated Controls Treated Raw-diff
453 controls as should be
The text was updated successfully, but these errors were encountered: