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.scoreis the pre-period prediction error, fit to pre-period treated outcomes only.shrinkage_stateholds posterior draws of one positive scale per factor, up tomax_factors. It is not a selected integer rank and not a derived effective-rank count.Methods
Attributes
scoreshrinkage_statepredictions_prepredictions_postimpact_preimpact_postimpact_post_cumulative- __init__(predictions_pre, predictions_post, impact_pre, impact_post, impact_post_cumulative, score=None, *, shrinkage_state)#
- classmethod __new__(*args, **kwargs)#