diff --git a/bioinfokit/analys.py b/bioinfokit/analys.py index 72b7a5e..e0326a8 100644 --- a/bioinfokit/analys.py +++ b/bioinfokit/analys.py @@ -464,7 +464,7 @@ def lin_reg(self, df="dataframe", y=None, x=None): print("\nRegression Summary:") print(tabulate([["Dependent variables", x], ["Independent variables", y], ["Coefficient of determination (r-squared)", r_sq], ["Adjusted r-squared", r_sq_adj], - ["Root Mean Square Error (RMSE)", rmse], + ["Root Mean Square Error (RMSE)", rmse], ["Mean of Y", round(np.mean(self.Y), 4)], ["Residual standard error", round(np.sqrt(sigma_sq_hat), 4)], ["No. of Observations", n]], "\n")) print("\nRegression Coefficients:\n")