Documente Academic
Documente Profesional
Documente Cultură
(https://www.facebook.com/AnalyticsVidhya) (https://twitter.com/analyticsvidhya)
(https://plus.google.com/+Analyticsvidhya/posts)
(https://www.linkedin.com/groups/Analytics-Vidhya-Learn-everything-about-5057165)
(https://www.analyticsvidhya.com)
(https://datahack.analyticsvidhya.com/contest/delhi-meetup-by-nagarro-analytics-vidhya/)
(HTTPS://WWW.ANALYTICSVIDHYA.COM/BLOG/CATEGORY/SAS/)
SHARE (http://www.facebook.com/sharer.php?u=https://www.analyticsvidhya.com/blog/2014/08/market-mix-
modeling/&t=Market%20mix%20modeling%20%20Simplied!) (https://twitter.com/home?status=Market%20mix%20modeling%20
%20Simplied!+https://www.analyticsvidhya.com/blog/2014/08/market-mix-modeling/) (https://plus.google.com/share?
url=https://www.analyticsvidhya.com/blog/2014/08/market-mix-modeling/) (http://pinterest.com/pin/create/button/?
url=https://www.analyticsvidhya.com/blog/2014/08/market-mix-modeling/&media=&description=Market%20mix%20modeling%20
%20Simplied!)
(http://events.upxacademy.com/infosession?utm_source=MLWeek-
AVBnr&utm_medium=Banner&utm_campaign=Info-Session)
US market spends on an average more than $140 Billion on just marketing every year.
https://www.analyticsvidhya.com/blog/2014/08/marketmixmodeling/ 1/11
5/22/2017 MarketMixModeling|SASProgramming
Provided that marketing is such an important component of the total expense by every company,
it is very essential to know the actual bene t from these marketing campaign. But today, marketing
is not done using a single channel. Every company uses multiple channels like TV, radio, outdoor
activities, banners, social media, and many more, to advertise their products. With such a wide
spread types of expense, it becomes very di cult to quantify the bene t from each of these
channel campaigns. Market mix model is a statistical model accepted industry wide to quantify
these bene ts and optimize the budget allotment to di erent campaigns.
(https://www.analyticsvidhya.com/blog/wp-content/uploads/2014/08/Bk-Deepak-rk.png)
Market Mix Modeling is an analytical approach that uses historic information like point of sales to
quantify the impact of some of the above mentioned components on sales.
Suppose the total sale is 100$, this total can be broken into sub components i.e. 60$ base sale,
20$ pricing, 18$ may be distribution and 2$ might be due to promotional activity. These numbers
can be achieved using various logical methods. Every method can give a di erent break up.
Hence, it becomes very important to standardize the process of breaking up the total sales into
these components. This formal technique is formally known as MMM or Market Mix Modeling.
https://www.analyticsvidhya.com/blog/2014/08/marketmixmodeling/ 2/11
5/22/2017 MarketMixModeling|SASProgramming
Why do we need econometric techniques like OLS, multivariate time series models to estimate a
marketing ROI? Why cant we be simply estimate the ROI, which can be calculated as the ratio of
income to the investment or expenditure?
The answer to the above questions is simple and straightforward: each brand has a di erent
characteristic, tastes, and so di erent market and cost structure. Thus the marketing e orts of each
brand are not homogeneous; it depends on di erent kind of promotions and advertising. It is very
useful to separate and decompose the e ect of marketing e ort. The purpose of econometric
modelling is to create response curves for each type of marketing spend and then use them to
calibrate an optimization model to determine a more optimal marketing mix. Response curves, in
turn, measure the incremental lift in actual $ Orders per additional $ spent on marketing activities
like promotions, advertising, and so on. A response model forecasts the change in a dependent
variable, Y, as a function of the change in one or more independent variables, X, e.g., the change in
sales of a product as a result of a change in advertising or price of that product or the change in a
persons preference for a service as a result of a change in the quality, timeliness, or price of the
service.
https://www.analyticsvidhya.com/blog/2014/08/marketmixmodeling/ 3/11
5/22/2017 MarketMixModeling|SASProgramming
Department: Every retailer combines each item into a category and each category is mapped to a
Strategic business unit i.e. SBU
This dataset represents an example of correlated data, several sales measurements may be taken
over time on each of the several subjects.Since the same response variable i.e. sales is being
measured at di erent times ,we typically refer to such data as repeated data and the collection of
responses on the same subject is often called a cluster responses.
When such repeated measures are taken over time, the study is called longitudinal study.
There are several approaches to analyze repeated measures data and one of them is general
linear mixed model.
The SAS MIXED procedure can carry out the computations required to t such a model.
procmixeddata=datasetname;
https://www.analyticsvidhya.com/blog/2014/08/marketmixmodeling/ 4/11
5/22/2017 MarketMixModeling|SASProgramming
classregiondepartmentwk_end_dt;
modelsales=base_salestvsn_grp/s;
run;
This program will give us a coe cient for TVSN_grp which when multiplied by GRP value will give
us the contribution by this variable.
GRP= reach X frequency, where reach (expressed in %) is a measure of the number people in the
target market exposed to advertising, and frequency is the average number of people have the
opportunity to see/hear advertising. For example, 100 GRPs mean 100% of market exposed once
or 50% of market exposed twice or 25% of market exposed 4 times and so on.
We can then roll up the contribution for the total time period i.e. the period in which we want to
know the e ciencies of the campaign and calculate the values given below in the table.
In this example, TV is lucrative marketing channel. But all other marketing channel seem to have a
higher investment than the additional value they bring in. Radio is a channel which can be
considered, provided it brings in some other non-quanti able value. This table is a typical output
shared with the clients when dealing with MMM projects. This helps clients to optimize their media
mix across various channels.
https://www.analyticsvidhya.com/blog/2014/08/marketmixmodeling/ 5/11
5/22/2017 MarketMixModeling|SASProgramming
1. GRP data is basically given by media agencies .The data collected by them can be at di erent
levels, i.e. di erent from the requirements of our project.The data has to be sliced and
aggregated at various levels which sometimes a ects the accuracy of data.
2. Veracity of data: Sometimes there arises a discrepancy between what is actually planned and
what is actually done in the market .There is a certain advertising budget planned for the year
and correspondingly there are planned GRPs but what actually happen s is a di erent
scenario. These discrepancies sometimes lead to spurious results in the regression
Modeling issues:
In MMM we typically calculate response curves of advertising on sales and assume a S shape
response curve but due to change in media i.e. typically digital data we cant expect the same
response and hence we get spurious.
Independent Variable: Impressions recorded across mediums or trps of news channels, radio
when NarendraModi is giving a speech.
If you like what you just read & want to continue your analytics
https://www.analyticsvidhya.com/blog/2014/08/marketmixmodeling/ 6/11
5/22/2017 MarketMixModeling|SASProgramming
If you like what you just read & want to continue your analytics
learning,subscribe to our emails
(http://feedburner.google.com/fb/a/mailverify?
uri=analyticsvidhya),follow us on twitter
(http://twitter.com/analyticsvidhya)or like ourfacebookpage
(http://facebook.com/analyticsvidhya).
Share this:
(https://www.analyticsvidhya.com/blog/2014/08/marketmixmodeling/?share=linkedin&nb=1)
154
(https://www.analyticsvidhya.com/blog/2014/08/marketmixmodeling/?share=facebook&nb=1)
(https://www.analyticsvidhya.com/blog/2014/08/marketmixmodeling/?share=googleplus1&nb=1)
(https://www.analyticsvidhya.com/blog/2014/08/marketmixmodeling/?share=twitter&nb=1)
(https://www.analyticsvidhya.com/blog/2014/08/marketmixmodeling/?share=pocket&nb=1)
(https://www.analyticsvidhya.com/blog/2014/08/marketmixmodeling/?share=reddit&nb=1)
RELATED
https://www.analyticsvidhya.com/blog/2014/08/marketmixmodeling/ 7/11
5/22/2017 MarketMixModeling|SASProgramming
(HTTPS://WWW.ANALYTICSVIDHYA.COM/BLOG/TAG/SAS/)
Next Article
Step by step guide to extract insights from free text (unstructured data)
(https://www.analyticsvidhya.com/blog/2014/08/step-step-guide-extract-inforation-free-text-unstructured-data/)
Previous Article
Bring it on! Analytics Vidhya Author identication challenge
(https://www.analyticsvidhya.com/blog/2014/08/author-identication-challenge/)
https://www.analyticsvidhya.com/blog/2014/08/marketmixmodeling/ 8/11
5/22/2017 MarketMixModeling|SASProgramming
(https://www.analyticsvidhya.com/blog/author/guest-blog/)
Author
This is article is quiet old now and you might not get a prompt response from the author. We would
request you to post this comment on Analytics Vidhya Discussion portal
(https://discuss.analyticsvidhya.com/) to get your queries resolved.
5 COMMENTS
q1)
model sales= base_sales tvsn_grp/s;
https://www.analyticsvidhya.com/blog/2014/08/marketmixmodeling/ 9/11
5/22/2017 MarketMixModeling|SASProgramming
q2) you have use only TV_GRP .. so if I have to use other GRP as well how we use
simultaneously in one code
q3) If we dont have GRP data can we use MMM & how
Hi Amogh,
It is really a nice way to present MMM brie y. I would like to ask you if you could explain me the
way to calculate the carry over e ect/decay e ect of the Adstock of the TV variable.
Thanks.
Wk GRP Adstock 80% Adstock 80% ,Power .2 Adstock 80% ,Power .2,Lag1
1 100 100 2.511886432
2 0 80 2.402248868 2.511886432
3 90 154 2.738445765 2.402248868
4 0 123.2 2.618919453 2.738445765
5 0 98.56 2.504610166 2.618919453
6 80 158.848 2.755474208 2.504610166
Please lets stretch on things beyond codes ..how do we know which is the optimum point in a
linear regression..how do we convert this from an in ninte to a nite series where it peaks out
SAS and other things makes everyone believe that we know a lot which can be dangerous
https://www.analyticsvidhya.com/blog/2014/08/marketmixmodeling/ 10/11
5/22/2017 MarketMixModeling|SASProgramming
Hi Amogh
How are the interaction e ects and random e ects captured in the model? To have a very
simple linear relationship would be not very representative of real examples. Often there are
interactions and random e ects?
LEAVE A REPLY
Your email address will not be published.
Comment
Name (required)
Email (required)
Website
SUBMIT COMMENT
https://www.analyticsvidhya.com/blog/2014/08/marketmixmodeling/ 11/11