MVITS.inform_default_prior#

MVITS.inform_default_prior(data)[source]#

Inform the default prior based on the data.

This only works with the default prior.

Parameters:
datapd.DataFrame

The DataFrame to inform the default prior. This should be the data before the treatment.

Returns:
Self

The model instance.

Examples

Use the data before the treatment to inform the prior.

data = df.loc[:treatment_time, model.existing_sales]
model.inform_default_prior(data=data)

Check the model configuration

model.model_config