From 8d7a1f9ad04934dbd19e552cfdf35ba1b422283e Mon Sep 17 00:00:00 2001 From: Renesh Bedre Date: Fri, 10 Apr 2020 11:15:13 -0500 Subject: [PATCH] slr corrected --- bioinfokit/analys.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bioinfokit/analys.py b/bioinfokit/analys.py index ceb2c81..72b7a5e 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], ["Adjusted r-squared)", r_sq_adj], + ["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")