on-internet
← Community

Residual standard error of a regression in python

Stack Overflow ·

Does anyone know a command or a way to obtain the residual standard error of a regression or standard error of a regression? I use the following commands to get the coefficients and the R-squared, I would like to learn one command like these for the standard error of the regression: #For the coefficients: model = smf.OLS(y, X).fit() print(model.params) #For the R-squared: model = smf.OLS(y, X).fit() print(model.rsquared) I will be really grateful to the person that can help me with this issue.

Comments

Sign in or sign up to comment and upvote.

No comments yet.