Move dof_resid below dof_model in regression output

dof_model is the numerator in the F test so this makes more sense
This commit is contained in:
RunasSudo 2022-10-16 02:30:24 +11:00
parent 349eebb202
commit f407c5a44f
Signed by: RunasSudo
GPG Key ID: 7234E476BF21C61A
1 changed files with 1 additions and 1 deletions

View File

@ -176,9 +176,9 @@ class RegressionResult:
# Right column
right_col = []
right_col.append(('Df. Model:', format(self.dof_model, '.0f')))
if self.dof_resid:
right_col.append(('Df. Residuals:', format(self.dof_resid, '.0f')))
right_col.append(('Df. Model:', format(self.dof_model, '.0f')))
if self.rsquared:
right_col.append(('<i>R</i><sup>2</sup>:' if html else 'R²:', format(self.rsquared, '.2f')))
else: