HierarchicalLaunchITS.fit#

HierarchicalLaunchITS.fit(X, y, coords=None, aux=None)[source]#

Fit the hierarchical launch ITS model.

Parameters:
  • X (DataArray) – Standard PyMCModel inputs. coords must include a unit entry (and an event_bin entry for the event-study / placebo variants).

  • y (DataArray) – Standard PyMCModel inputs. coords must include a unit entry (and an event_bin entry for the event-study / placebo variants).

  • coords (dict[str, Any] | None) – Standard PyMCModel inputs. coords must include a unit entry (and an event_bin entry for the event-study / placebo variants).

  • aux (dict[str, Any] | None) – Auxiliary design inputs; see the class docstring.

Return type:

InferenceData