{% extends "base.html" %} {% block title %}ARIMA Report{% endblock %} {% block header_title %}{{ title | default('ARIMA Model Report') }}{% endblock %} {% block header_subtitle %} {% if model_info %}

{{ model_info.get('model_type', 'ARIMA') }} {% if model_info.get('order') %}({{ model_info.order }}){% endif %} {% if model_info.get('seasonal_order') %} x {{ model_info.seasonal_order }}{% endif %} {% if model_info.get('nobs') %} | N = {{ model_info.nobs }}{% endif %}

{% endif %} {% endblock %} {% block sidebar_nav %}
  • Parameters
  • Information Criteria
  • Diagnostics
  • {% if roots is defined and roots %}
  • Roots
  • {% endif %} {% for section in sections %} {% if section.title not in ['Parameter Estimates', 'Information Criteria', 'Diagnostic Tests', 'Polynomial Roots'] %}
  • {{ section.title }}
  • {% endif %} {% endfor %} {% endblock %} {% block content %} {% if tables and tables.parameters %}

    Parameter Estimates

    {% for param in tables.parameters %} {% endfor %}
    Parameter Estimate Std. Error t-stat p-value Sig.
    {{ param.name }} {{ param.value | format_number(4) }} {{ param.get('std_error', '') | format_number(4) if param.get('std_error') is not none else '---' }} {{ param.get('t_stat', '') | format_number(4) if param.get('t_stat') is not none else '---' }} {{ param.get('p_value', '') | format_pvalue if param.get('p_value') is not none else '---' }} {{ param.get('significance', '') }}
    {% endif %} {% if information_criteria %}

    Information Criteria

    {% for name, value in information_criteria.items() %} {% if value is not none %}
    {{ value | format_number(2) }}
    {{ name }}
    {% endif %} {% endfor %}
    {% endif %} {% if diagnostics %}

    Diagnostic Tests

    {% for diag in diagnostics %} {% endfor %}
    TestStatisticp-valueConclusion
    {{ diag.test }} {{ diag.get('statistic', '---') | format_number(4) if diag.get('statistic') is not none else '---' }} {{ diag.get('p_value', '---') | format_pvalue if diag.get('p_value') is not none else '---' }} {{ diag.get('conclusion', '---') }}
    {% endif %} {% if roots is defined and roots %}
    Polynomial Roots
    {% for root in roots %} {% endfor %}
    Type#RealImagModulus
    {{ root.type }} {{ root.index }} {{ root.real | format_number(4) }} {{ root.imag | format_number(4) }} {{ root.modulus | format_number(4) }}
    {% endif %} {{ super() }} {% endblock %}