MVITS.causal_impact#

MVITS.causal_impact(variable='mu')[source]#

Calculate the causal impact of the new product on the existing products.

Note: if we compare “mu” then we are comparing the expected sales, if we compare “y” then we are comparing the actual sales

Parameters:
variablestr, optional

The variable to compare. Either “mu” or “y”.

Returns:
xr.DataArray

The causal impact of the new product on the existing products.