ConvexHullCheck#
- class causalpy.checks.convex_hull.ConvexHullCheck[source]#
Check that treated unit values lie within the convex hull of controls.
Wraps the existing
SyntheticControl._check_convex_hull()logic.Methods
ConvexHullCheck.run(experiment, context)Run the convex hull violation check on pre-treatment data.
ConvexHullCheck.validate(experiment)Verify the experiment is a SyntheticControl instance.
Attributes
applicable_methods- __init__()#
- classmethod __new__(*args, **kwargs)#