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:
parent
349eebb202
commit
f407c5a44f
@ -176,9 +176,9 @@ class RegressionResult:
|
|||||||
# Right column
|
# Right column
|
||||||
right_col = []
|
right_col = []
|
||||||
|
|
||||||
|
right_col.append(('Df. Model:', format(self.dof_model, '.0f')))
|
||||||
if self.dof_resid:
|
if self.dof_resid:
|
||||||
right_col.append(('Df. Residuals:', format(self.dof_resid, '.0f')))
|
right_col.append(('Df. Residuals:', format(self.dof_resid, '.0f')))
|
||||||
right_col.append(('Df. Model:', format(self.dof_model, '.0f')))
|
|
||||||
if self.rsquared:
|
if self.rsquared:
|
||||||
right_col.append(('<i>R</i><sup>2</sup>:' if html else 'R²:', format(self.rsquared, '.2f')))
|
right_col.append(('<i>R</i><sup>2</sup>:' if html else 'R²:', format(self.rsquared, '.2f')))
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user