{% extends 'common/base_v2.html' %} {% block summary %}

Regression Results

R-squared
{{ r_squared|default((fit_statistics|default({})).get('r_squared', '—'))|round(4) }}
Observations
{{ nobs|default('—')|number_format }}
Entities
{{ n_entities|default('—')|number_format }}
Periods
{{ n_periods|default('—') }}
{% endblock %} {% block content %}
{% if charts %} {% endif %} {% if residual_charts %} {% endif %}

Parameter Estimates

{% if coefficients %} {% if coefficients[0].ci_lower is defined and coefficients[0].ci_lower != '' %} {% endif %} {% for coef in coefficients %} {% if coef.ci_lower is defined and coef.ci_lower != '' %} {% endif %} {% endfor %}
Variable Coefficient Std. Error t-stat p-value [0.025 0.975]
{{ coef.name }} {{ coef.coef|round(4) }} {{ coef.se|round(4) }} {{ coef.tstat|round(3) }} {{ coef.pvalue|pvalue_format }} {{ coef.stars }}{{ coef.ci_lower|round(4) }} {{ coef.ci_upper|round(4) }}

Significance: * p<0.1, ** p<0.05, *** p<0.01

{% else %}

No coefficient data available.

{% endif %}

Model Specification

Estimator{{ model_info.estimator|default(model_type)|default('—') if model_info else model_type|default('—') }}
Formula{{ model_info.formula|default(formula)|default('—') if model_info else formula|default('—') }}
Standard Errors{{ model_info.se_type|default(se_type)|default('—') if model_info else se_type|default('—') }}
Observations{{ nobs|default('—')|number_format }}
Entities{{ n_entities|default('—')|number_format }}
Periods{{ n_periods|default('—') }}

Fit Statistics

{% if f_statistic is defined or (fit_statistics and fit_statistics.get('f_statistic')) %} {% endif %} {% if aic is defined or (fit_statistics and fit_statistics.get('aic')) %} {% endif %}
R-squared{{ r_squared|default((fit_statistics|default({})).get('r_squared', '—'))|round(4) }}
Adj. R-squared{{ adj_r_squared|default((fit_statistics|default({})).get('adj_r_squared', '—'))|round(4) }}
F-statistic{{ f_statistic|default((fit_statistics|default({})).get('f_statistic', '—'))|round(3) }}
AIC{{ aic|default((fit_statistics|default({})).get('aic', '—'))|round(2) }}
BIC{{ bic|default((fit_statistics|default({})).get('bic', '—'))|round(2) }}
{% if charts %}
{% if charts.coefficient_plot %}

Coefficient Estimates

{{ charts.coefficient_plot|safe }}
{% endif %} {% if charts.fit_chart %}

Model Fit

{{ charts.fit_chart|safe }}
{% endif %} {% if charts.pvalue_chart %}

P-value Summary

{{ charts.pvalue_chart|safe }}
{% endif %}
{% endif %} {% if residual_charts %}

Diagnostic Plots

{% for name, chart_html in residual_charts.items() %}
{{ chart_html|safe }}
{% endfor %}
{% endif %}
{% endblock %} {% block extra_js %} {% endblock %}