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:
- variable
str
, optional The variable to compare. Either “mu” or “y”.
- variable
- Returns:
xr.DataArray
The causal impact of the new product on the existing products.