{% if sections.ccf is defined and sections.ccf.data is defined and sections.ccf.data.ccf.summary_table is defined %}

🔗 Cross-Correlation Function (CCF) Summary Table

The CCF summary table presents cross-correlation statistics between variable pairs, helping to identify lagged relationships.

{% set summary_data = sections.ccf.data.ccf.summary_table %} {% set lines = sections.ccf.data.lines %} {% if summary_data|length > 0 %}
{% for row in summary_data %} {% set row_lines = lines[row.feature] %} {% endfor %}
Target Feature Version Max-Corr Max-Corr Lag Corr@Lag0 Line Chart (Dummy) Lines (Original)
{{ row.target_column }} {{ row.feature }} {{ row.version }} {{ row.max_correlation }} {{ row.lag_at_max }} {{ "%.3f"|format(row.correlation_at_lag_0) if row.correlation_at_lag_0 is number else row.correlation_at_lag_0 }} {% if row_lines is defined %} {% with row_lines=row_lines %} {% include "sections/charts/line_charts_v2.html" %} {% endwith %} {% else %} - {% endif %}
{% else %}

No CCF summary data available.

{% endif %}
{% endif %}