pre_period_score#
- causalpy.experiments.interactive_fixed_effects.pre_period_score(predictions_pre, treated_pre)[source]#
Bayesian \(R^2\) of pre-period predictions against pre-period outcomes.
Post-period outcomes are not an argument.
- Parameters:
- Returns:
unit_{i}_r2andunit_{i}_r2_stdfor each treated unit.- Return type: