PreTreatmentPlaceboCheck#

class causalpy.checks.pre_treatment_placebo.PreTreatmentPlaceboCheck[source]#

Check that pre-treatment event-study estimates are near zero.

Wraps the pre-treatment placebo effects already computed by StaggeredDifferenceInDifferences in att_event_time_.

Parameters:

threshold (float) – Significance threshold for determining if pre-treatment effects are significantly different from zero.

Methods

PreTreatmentPlaceboCheck.__init__([threshold])

PreTreatmentPlaceboCheck.run(experiment, context)

Evaluate pre-treatment event-study ATTs for evidence of pre-trends.

PreTreatmentPlaceboCheck.validate(experiment)

Verify the experiment is a fitted StaggeredDifferenceInDifferences.

Attributes

applicable_methods

__init__(threshold=0.05)[source]#
Parameters:

threshold (float)

Return type:

None

classmethod __new__(*args, **kwargs)#