PlaceboInSpace#

class causalpy.checks.placebo_in_space.PlaceboInSpace[source]#

Treat each control unit as if treated and check for spurious effects.

For each control unit, re-fits the synthetic control using the remaining controls as donors. If the placebo effects are as large as the actual effect, the causal claim is weakened.

Examples

>>> import causalpy as cp
>>> check = cp.checks.PlaceboInSpace()

Methods

PlaceboInSpace.__init__()

PlaceboInSpace.run(experiment, context)

Treat each control unit as treated and compare effect magnitudes.

PlaceboInSpace.validate(experiment)

Verify the experiment is a SyntheticControl instance.

Attributes

applicable_methods

__init__()#
classmethod __new__(*args, **kwargs)#