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:
variablestr, optional

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

axplt.Axes, optional

The matplotlib axes.

Returns:
plt.Axes

The new or modified matplotlib axes.