Exporting Decomposition Data

Overview

Decomposition data can be exported to Excel for further analysis, custom visualizations, and stakeholder reporting. MixModeler includes decomposition sheets automatically in model exports.

Purpose: Access decomposition data outside MixModeler for advanced analysis, custom reporting, and integration with other tools.

How to Export

Step 1: Navigate to Model Library

  • Click "Model Library" in the left sidebar

  • View all your saved models

Step 2: Locate Your Model

  • Find the model you want to export in the table

  • Ensure it's the model you've run decomposition on

Step 3: Click Export Button

  • Click the 📁 Export icon for your model

  • Excel file downloads automatically to your browser's download folder

Step 4: Open Excel File

  • Locate downloaded file (usually named: ModelName_export.xlsx)

  • Open in Microsoft Excel or Google Sheets

Excel File Structure

The export includes multiple sheets:

Group Decomposition Sheet

Purpose: Time-series of group-level contributions

Columns:

  • Date: Time period (week, month, etc.)

  • Actual: Real KPI values from your data

  • Predicted: Model's predicted KPI values

  • Base: Base group contribution

  • Media: Media group contribution (if exists)

  • Price: Price group contribution (if exists)

  • Promotions: Promotions group contribution (if exists)

  • Seasonality: Seasonality group contribution (if exists)

  • [Other Groups]: Additional groups you've defined

Structure:

Each row: One time period Each column: One contribution group

Variable Decomposition Sheet

Purpose: Time-series of individual variable contributions

Columns:

  • Date: Time period

  • Actual: Real KPI values

  • Predicted: Model predictions

  • const: Intercept/constant term

  • TV_Spend: TV variable contribution

  • Digital_Spend: Digital variable contribution

  • Price_Index: Price variable contribution

  • [All Variables]: Each variable in your model

Structure:

Use: Most granular view, variable-level ROI calculation

Other Sheets Included

The export also contains:

  • Model Info: Model name, KPI, features, date range

  • Coefficients: OLS or Bayesian coefficient estimates

  • Model Statistics: R², Adjusted R², diagnostics

  • Residuals: Actual vs. predicted with residuals

  • Variable Details: Transformations, groups, adjustments

Using Exported Data

ROI Calculation in Excel

Step 1: Sum Contributions

Step 2: Get Total Spend

Step 3: Calculate ROI

Creating Pivot Tables

Summarize by Time Period:

Step 1: Select Data

  • Highlight decomposition data

  • Insert > PivotTable

Step 2: Configure

  • Rows: Date (grouped by month/quarter)

  • Values: Sum of each group contribution

  • Show contribution by period

Step 3: Analyze

  • Monthly trends

  • Quarterly summaries

  • YoY comparisons

Example Output:

Custom Visualizations

Beyond MixModeler Charts:

Waterfall Charts:

  • Show contribution build-up

  • Period-over-period changes

  • Group contributions

Area Charts:

  • Stacked area showing trends

  • Proportion changes over time

  • Smoother than stacked bars

Combo Charts:

  • Bars for contributions

  • Line for actual/predicted

  • Multiple Y-axes

Heatmaps:

  • Contribution intensity by period

  • Identify patterns

  • Visual correlation

Time Series Analysis

Moving Averages:

Growth Calculations:

Trend Analysis:

Combining with Other Data

Join with Marketing Data:

Match by Date:

Enhanced Analysis:

Statistical Analysis

Correlation Analysis:

Contribution Distribution:

Sharing with Stakeholders

Executive Summary

Create One-Page Dashboard:

Key Metrics:

  • Total KPI for period

  • Marketing contribution ($, %)

  • Top 3 contributors

  • ROI by channel

Visuals:

  • Main decomposition chart (screenshot or recreate)

  • ROI bar chart

  • Trend line

Recommendations:

  • Top 2-3 actions

  • Expected impact

Detailed Reports

For Marketing Teams:

Include:

  • Variable-level decomposition

  • Channel performance details

  • Period-over-period changes

  • Optimization opportunities

Format:

  • Multi-tab Excel workbook

  • Charts and tables

  • Commentary and insights

Presentation Decks

PowerPoint/Google Slides:

Slide 1: Overview

  • Decomposition chart

  • Key findings

Slide 2: Channel Performance

  • ROI comparison

  • Recommendations

Slide 3: Trends

  • Time series analysis

  • Seasonal patterns

Slide 4: Next Steps

  • Action items

  • Timeline

Advanced Excel Techniques

Dynamic Charts with Slicers

Create Interactive Reports:

Step 1: Convert to Table

  • Format data as Excel Table

  • Enables filtering

Step 2: Add Slicers

  • Insert > Slicer

  • Add Date, Group filters

Step 3: Link to Charts

  • Charts update automatically

  • Interactive exploration

Scenario Analysis

Model "What If" Scenarios:

Create Scenario Table:

Use Historical ROI:

  • Apply average ROI to new spend levels

  • Estimate contribution changes

  • Compare scenarios

Dashboard Creation

Build Excel Dashboard:

Components:

  • Summary KPIs (total, YoY growth)

  • Contribution breakdown chart

  • ROI table

  • Trend sparklines

  • Top performers

Features:

  • Update with new data

  • Filter by period

  • Drill-down capability

File Management Best Practices

Naming Convention:

Organization:

  • Folder by model or time period

  • Keep historical exports

  • Version control

Documentation:

  • Note export date

  • Model version

  • Any special considerations

Data Validation

Check Exported Data:

Verify Totals:

Check for Missing Data:

  • All expected columns present?

  • No unexpected blank rows?

  • Date ranges complete?

Validate Calculations:

Integration with Other Tools

Google Sheets

Import Excel File:

  • Upload to Google Drive

  • Open with Google Sheets

  • Same analysis capabilities

Collaboration:

  • Share with team

  • Real-time editing

  • Comments and suggestions

BI Tools (Tableau, Power BI)

Import Decomposition Data:

  • Load Excel file as data source

  • Create custom dashboards

  • Advanced visualizations

Use Cases:

  • Executive dashboards

  • Interactive exploration

  • Automated reporting

Python/R Analysis

Load Excel Data:

Python:

R:

Advanced Analysis:

  • Statistical modeling

  • Machine learning

  • Custom algorithms

Troubleshooting Export Issues

File Won't Download:

  • Check browser settings

  • Disable pop-up blockers

  • Try different browser

File Won't Open:

  • Ensure Excel/compatible software installed

  • Check file isn't corrupted

  • Re-download

Missing Data:

  • Verify decomposition was run

  • Check groups are configured

  • Ensure model is fitted

Columns Look Wrong:

  • Column names = your group names

  • Variable names = your variable names

  • Verify grouping is saved

Summary

Exporting Enables:

Further Analysis:

  • Custom calculations

  • Advanced visualizations

  • Statistical tests

Reporting:

  • Stakeholder presentations

  • Executive summaries

  • Detailed documentation

Integration:

  • Combine with other data

  • Feed into BI tools

  • Support decision-making

Best Practices:

Always Export:

  • After finalizing model

  • For important analyses

  • For documentation

Organize Files:

  • Clear naming

  • Version control

  • Archive historical exports

Validate Data:

  • Check totals

  • Verify calculations

  • Spot-check accuracy

Share Appropriately:

  • Right level of detail for audience

  • Clear documentation

  • Actionable insights

Next Steps:

  • Export your model

  • Explore the data

  • Create custom analysis

  • Share insights with team

Last updated