MVITS.plot_causal_impact_market_share#
- MVITS.plot_causal_impact_market_share(variable='mu', ax=None)[source]#
Plot the inferred 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”.
- ax
plt.Axes
, optional The matplotlib axes.
- variable
- Returns:
plt.Axes
The new or modified matplotlib axes.