causalkit.eda.eda.CausalEDA.positivity_check#
- CausalEDA.positivity_check(ps=None, bounds=(0.05, 0.95))[source]#
Check overlap/positivity based on propensity score thresholds.
Returns a dict with: - bounds: (low, high) thresholds used - share_below: fraction with PS < low - share_above: fraction with PS > high - flag: heuristic boolean True if the tails collectively exceed ~2%