InteractiveFixedEffectsResult#

class causalpy.experiments.interactive_fixed_effects.InteractiveFixedEffectsResult[source]#

Result bundle for interactive fixed-effects synthetic control.

predictions_* are the untreated counterfactual. Posterior intervals on those fields marginalize the shrinkage prior. They are not conditional on a selected rank. score is the pre-period prediction error, fit to pre-period treated outcomes only.

shrinkage_state holds posterior draws of one positive scale per factor, up to max_factors. It is not a selected integer rank and not a derived effective-rank count.

Methods

Attributes

score

shrinkage_state

predictions_pre

predictions_post

impact_pre

impact_post

impact_post_cumulative

__init__(predictions_pre, predictions_post, impact_pre, impact_post, impact_post_cumulative, score=None, *, shrinkage_state)#
Parameters:
Return type:

None

classmethod __new__(*args, **kwargs)#