Join the newly launched
Discord community for real-time discussions, peer support, and direct interaction with the Meridian team!
Perform an exploratory data analysis
Stay organized with collections
Save and categorize content based on your preferences.
After you collect your data, perform an exploratory data analysis (EDA) to find
and address any data quality issues. This is a critical step in the marketing
mix modeling (MMM) process because it lets you assess the data to confirm that
it accurately represents the marketing efforts, customer responses, and other
relevant metrics. By correcting issues discovered through the EDA process, you
can improve the reliability of the model output.
The basic process for performing an EDA is:
- Run a data review to identify any missing or incomplete data.
- Fix missing values in your raw input files.
- Evaluate the accuracy of the data.
- Correct any anomalies, outliers, or inaccuracies in the data.
- Check the correlation between your KPI, media, and control variables.
There are many ways to approach EDA, and so Meridian doesn't provide the
visualizations for this process. We recommend that you find the right balance
for your needs between running a thorough granular analysis for greater
confidence and a quick check of high-level data that gives less detailed
insight.
Consider these guidelines as you produce your own visualizations to assist with
your EDA:
Checking data completeness: Check for missing values in the data.You can
create charts that show the percentage of data completeness for each
variable (channel), then investigate the variables that show as incomplete.
To further refine your EDA, you can create visualizations that show the
number of observations by year, month, week, and weekday. Look for
unexpectedly lower observations for any time period.
Checking data accuracy: Ensure that data is accurate and free from
anomalies or outliers that could skew results. Creating visualizations to
check for accuracy can include comparing the share of media spend for each
channel and checking the trend of a channel to identify anything unusual.
You can compare these visualizations against the media plan or work with the
marketing team to help identify whether the data is accurate and granular
enough.
Checking channels size: look at the channel's share of spend.
Channels with very small share of spend might be difficult to estimate.
You might want to combine them with other channels.
Checking variability of channels' media execution: Channels with low
variability in media execution (impressions, clicks, etc.) might be
difficult to estimate. Consider using a custom prior, if you have relevant
information for it.
Checking correlation between variables: Though correlation between
KPI, media, and control variables is not required, creating visualizations
to check for correlation can be helpful in the following use cases:
Measuring the correlation between media and control variables to see if
there is any unexpected relationship. This can help you decide
whether to keep or remove any media or control variable.
Identifying multicollinearity. When two or more variables in the media
and control variables are highly correlated with each other, they create
multicollinearity, which can cause regression models to have difficulty
calculating the impact of the collinear variables. By identifying
multicollinearity in your data review, you can decide which variables to
include or exclude from your model.
After you have confidence that your data is accurate and complete, you can load
the data using a supported
format, and then
create your model.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-27 UTC.
[null,null,["Last updated 2025-08-27 UTC."],[[["\u003cp\u003eExploratory data analysis (EDA) is a crucial step in marketing mix modeling (MMM) to assess and confirm the accuracy of data related to marketing efforts and customer responses.\u003c/p\u003e\n"],["\u003cp\u003eThe EDA process involves reviewing data for completeness, fixing missing values, evaluating accuracy, correcting anomalies, and checking the correlation between key performance indicators (KPIs) and other variables.\u003c/p\u003e\n"],["\u003cp\u003eEDA visualizations should check data completeness by identifying missing values and evaluating the number of observations over time.\u003c/p\u003e\n"],["\u003cp\u003eEDA visualizations should also check data accuracy by comparing media spend across channels and examining trends to detect anomalies or outliers.\u003c/p\u003e\n"],["\u003cp\u003eChecking correlation between variables, including media and control variables, can help identify unexpected relationships and multicollinearity issues that could affect the accuracy of the regression model.\u003c/p\u003e\n"]]],["Exploratory data analysis (EDA) is crucial for marketing mix modeling (MMM). Key actions include: reviewing data for completeness, fixing missing values, evaluating data accuracy, and correcting anomalies. Checking the correlation between KPI, media, and control variables can reveal unexpected relationships or multicollinearity. Visualizations, showing data completeness, accuracy, and correlation are helpful. The EDA process ensures data quality before loading data and building a model.\n"],null,["After you collect your data, perform an exploratory data analysis (EDA) to find\nand address any data quality issues. This is a critical step in the marketing\nmix modeling (MMM) process because it lets you assess the data to confirm that\nit accurately represents the marketing efforts, customer responses, and other\nrelevant metrics. By correcting issues discovered through the EDA process, you\ncan improve the reliability of the model output.\n\nThe basic process for performing an EDA is:\n\n1. Run a data review to identify any missing or incomplete data.\n2. Fix missing values in your raw input files.\n3. Evaluate the accuracy of the data.\n4. Correct any anomalies, outliers, or inaccuracies in the data.\n5. Check the correlation between your KPI, media, and control variables.\n\nThere are many ways to approach EDA, and so Meridian doesn't provide the\nvisualizations for this process. We recommend that you find the right balance\nfor your needs between running a thorough granular analysis for greater\nconfidence and a quick check of high-level data that gives less detailed\ninsight.\n\nConsider these guidelines as you produce your own visualizations to assist with\nyour EDA:\n\n- **Checking data completeness:** Check for missing values in the data.You can\n create charts that show the percentage of data completeness for each\n variable (channel), then investigate the variables that show as incomplete.\n\n To further refine your EDA, you can create visualizations that show the\n number of observations by year, month, week, and weekday. Look for\n unexpectedly lower observations for any time period.\n- **Checking data accuracy:** Ensure that data is accurate and free from\n anomalies or outliers that could skew results. Creating visualizations to\n check for accuracy can include comparing the share of media spend for each\n channel and checking the trend of a channel to identify anything unusual.\n You can compare these visualizations against the media plan or work with the\n marketing team to help identify whether the data is accurate and granular\n enough.\n\n- **Checking channels size:** look at the channel's share of spend.\n Channels with very small share of spend might be difficult to estimate.\n You might want to combine them with other channels.\n\n- **Checking variability of channels' media execution:** Channels with low\n variability in media execution (impressions, clicks, etc.) might be\n difficult to estimate. Consider using a custom prior, if you have relevant\n information for it.\n\n- **Checking correlation between variables:** Though correlation between\n KPI, media, and control variables is not required, creating visualizations\n to check for correlation can be helpful in the following use cases:\n\n - Measuring the correlation between media and control variables to see if\n there is any unexpected relationship. This can help you decide\n whether to keep or remove any media or control variable.\n\n - Identifying multicollinearity. When two or more variables in the media\n and control variables are highly correlated with each other, they create\n multicollinearity, which can cause regression models to have difficulty\n calculating the impact of the collinear variables. By identifying\n multicollinearity in your data review, you can decide which variables to\n include or exclude from your model.\n\nAfter you have confidence that your data is accurate and complete, you can [load\nthe data using a supported\nformat](/meridian/docs/user-guide/supported-data-types-formats), and then\n[create your model](/meridian/docs/user-guide/modeling-overview)."]]