{{ generator or "OwlMix EDA Module" }}

{{ header_title or "🦉 OwlMix EDA Report" }}

{{ header_subtitle or "Exploratory Data Analysis for Marketing Mix Modeling" }}

📅 {{ report_date or "Unknown" }}
{% if basic_info %}

📊 Dataset Overview

High-level summary of the dataset structure and composition.

Total Records
{{ basic_info.num_rows | default("N/A") }}
Total Columns
{{ basic_info.num_columns | default("N/A") }}
{% if basic_info.column_names %}
Column Names:
{{ basic_info.column_names | join(", ") }}
{% endif %}
{% if basic_info.data_types %}

📝 Data Types & Missing Values

{% for col_name, dtype in basic_info.data_types.items() %} {% endfor %}
Column Data Type Missing Values
{{ col_name }} {{ dtype }} {% set missing = basic_info.missing_values[col_name] if basic_info.missing_values and col_name in basic_info.missing_values else 0 %} {{ missing }} {% if missing | int > 0 %} ⚠️ {% else %} {% endif %}
{% endif %} {% if basic_info.missing_values %}

🔍 Missing Values Summary

{% for col_name, count in basic_info.missing_values.items() %}
{{ col_name }}
{{ count }} missing
{% endfor %}
{% endif %}
{% if basic_info.summary_stats %}

📈 Summary Statistics

Descriptive statistics for all numerical and datetime variables.

{% for col_name in basic_info.column_names %} {% endfor %} {% if basic_info.summary_stats %} {% set stat_names = basic_info.summary_stats.values() | list | first %} {% if stat_names %} {% for stat_name in stat_names.keys() %} {% for col_name in basic_info.column_names %} {% endfor %} {% endfor %} {% endif %} {% endif %}
Statistic{{ col_name }}
{{ stat_name }} {% if col_name in basic_info.summary_stats and stat_name in basic_info.summary_stats[col_name] %} {% set val = basic_info.summary_stats[col_name][stat_name] %} {% if val is number %} {{ "%.3f"|format(val) }} {% else %} {{ val }} {% endif %} {% else %} - {% endif %}
{% endif %} {% else %}
⚠️ No basic information available. Ensure report.json contains 'basic_info' section.
{% endif %} {% if vif %}

📈 Variance Inflation Factor (VIF)

VIF values for the feature variables

{% for row in range(vif.feature|length) %} {% endfor %}
Feature VIF
{{ vif.feature[row] }} {{ vif.vif_value[row] }}
{% endif %} {% if time_comparison %}

📈 Time Comarison

Simple info to show change over last period.

{% for col in time_comparison.columns %} {% endfor %} {% for row in time_comparison.data %} {% for col in time_comparison.columns %} {% endfor %} {% endfor %}
Date {{ col }} {{ col }} % Change
{{ row.date }} {{ row[col] }} {{ row[col + '_pct_change'] }}
{% endif %} {% if time_aggregator %}

📈 Yearly Aggregator

Simple info to show change over last period.

{% for col in time_aggregator.columns %} {% endfor %} {% for row in time_aggregator.data %} {% for col in time_aggregator.columns %} {% endfor %} {% endfor %}
Year {{ col }}
{{ row.date }} {{ row[col] }}
{% endif %} {% if corr_matrix %}

🔗 Correlation Matrix

Pairwise correlations between variables (ranges from -1 to +1).

{% for col_name in corr_matrix.keys() %} {% endfor %} {% for row_name, row_values in corr_matrix.items() %} {% for col_name in corr_matrix.keys() %} {% set corr_val = row_values[col_name] if row_values[col_name] is defined else None %} {% endfor %} {% endfor %}
Variable{{ col_name }}
{{ row_name }} {% if corr_val is not none and corr_val is number %} {{ "%.3f" | format(corr_val) }} {% else %} — {% endif %}
{% endif %} {% if lag_corr %}

⏱️ Lag Correlation

Correlation values for different lag periods in time series data.

{% for lag_key, corr_val in lag_corr.items() %} {% endfor %}
Lag Period Correlation
Lag {{ lag_key }} {% if corr_val is number %} {{ "%.4f" | format(corr_val) }} {% else %} {{ corr_val }} {% endif %}
{% endif %} {% if charts %}

📊 Visualizations

Embedded charts and plots for visual data exploration.

{% for chart in charts %}

{{ chart.title }}

{{ chart.description }}

{% set image_src = chart.image_data or chart.correlation_chart or chart.time_series_chart or chart.outliers_chart or chart.lag_correlation_chart %} {% if image_src %} {{ chart.alt_text or chart.title }} {% else %}
No image available for this chart.
{% endif %}
{% endfor %}
{% endif %}