InteractiveFixedEffectsSyntheticControl.compose_result#

InteractiveFixedEffectsSyntheticControl.compose_result(*, unit_intercept, time_intercept, loadings, factors, shrinkage_state)[source]#

Compose the frozen result from component draws.

The untreated counterfactual at each time is the additive unit intercept plus the additive time intercept plus the loading-factor product. Impact uses WidePanel.impacts(). score uses pre-period treated outcomes only. This method does not update shrinkage from treated post-intervention outcomes and does not select a rank.

Parameters:
  • unit_intercept (DataArray) – Draws with dimensions chain, draw, and treated_units.

  • time_intercept (DataArray) – Draws with dimensions chain, draw, and obs_ind.

  • loadings (DataArray) – Per-treated-unit loadings. The factors axis has length max_factors.

  • factors (DataArray) – Shared factors with dimensions chain, draw, obs_ind, and factors.

  • shrinkage_state (DataArray) – One positive scale per factor, dimensions chain, draw, and factors.

Returns:

Predictions, impacts, pre-period score, and shrinkage state.

Return type:

InteractiveFixedEffectsResult