{% extends 'common/base_v2.html' %}
{% block summary %}
Executive Summary
Click column headers to sort. Ranked by composite score (criterion + tests + sign constraints + parsimony).
| # ▲ | Model ▲ | Formula ▲ | BIC ▲ | AIC ▲ | R² adj ▲ | Status ▲ | Vars ▲ | Score ▲ |
|---|---|---|---|---|---|---|---|---|
| {{ row.rank }} | {{ row.model_type }} | {{ row.formula }} |
{{ "%.2f"|format(row.bic) }} | {{ "%.2f"|format(row.aic) }} | {{ "%.4f"|format(row.rsq_adj) if row.rsq_adj is not none else 'N/A' }} | {{ row.classification }} | {{ row.n_vars }} | {{ "%.3f"|format(row.score) }} |
Formula: {{ best_formula }}
| Parameter | Estimate | Std. Error | t-stat | p-value | Sig. |
|---|---|---|---|---|---|
| {{ coef.name }} | {{ "%.4f"|format(coef.estimate) }} | {{ "%.4f"|format(coef.std_error) }} | {{ "%.3f"|format(coef.tstat) }} | {{ coef.pvalue|pvalue_format }} | {{ coef.pvalue|significance_stars }} |
Significance: *** p<0.001, ** p<0.01, * p<0.05, . p<0.1
{% endif %} {% if best_diagnostics %}Models × tests heatmap. Green = pass, red = fail, gray = not applicable.
{% if test_matrix %}| Model | {% for test_name in test_names %}{{ test_name }} | {% endfor %}Classification |
|---|---|---|
| {{ model_name }} | {% for test_name in test_names %} {% set result = tests.get(test_name, 'n/a') %}{{ '✓' if result == 'pass' else ('✗' if result == 'fail' else '—') }} | {% endfor %}{{ tests._classification }} |
Information criterion at each forward step, by model type.
Selected ({{ sel.selected_vars|length }}):
{% for v in sel.selected_vars %}
{{ v }}{{ ', ' if not loop.last else '' }}
{% endfor %}
{% if not sel.selected_vars %}
None
{% endif %}
Rejected:
{{ var }} — {{ reason }}| Original Variable | Transformation | Result Name |
|---|---|---|
| {{ t.source }} | {{ t.type }} | {{ t.name }} |
No transformations were applied.
{% endif %}