Skip to content

Commit

Permalink
slr corrected
Browse files Browse the repository at this point in the history
  • Loading branch information
reneshbedre committed Apr 10, 2020
1 parent 98a3f69 commit 8d7a1f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bioinfokit/analys.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 8d7a1f9

Please sign in to comment.