We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I think the .plot() should also apply to OLS regression from pandas.stats.api import ols
.plot()
pandas.stats.api import ols
Let say I have some points and I do
regression = ols(y=df['Y_VALUES'], x=df[['X_VALUES']]) So if I type print (regression) it gives me a summary of the data.
regression = ols(y=df['Y_VALUES'], x=df[['X_VALUES']])
print (regression)
What I am suggesting is that if I type something like:
regression.plot() plt.show()
It should give me a scatter plot with the best fit line.
The text was updated successfully, but these errors were encountered:
@ccsv I think you should open an issue for statsmodels (https://github.com/statsmodels/statsmodels/issues), as the OLS regression is maintained there (and will be deprecated in pandas at some time: #6077)
Sorry, something went wrong.
And statsmodels also has a bunch of these already implemented, so you probably won't need to open an issue. The one you're asking for is here
@TomAugspurger @jorisvandenbossche
Cool guys I will close it then
No branches or pull requests
I think the
.plot()
should also apply to OLS regression frompandas.stats.api import ols
Let say I have some points and I do
regression = ols(y=df['Y_VALUES'], x=df[['X_VALUES']])
So if I type
print (regression)
it gives me a summary of the data.
What I am suggesting is that if I type something like:
It should give me a scatter plot with the best fit line.
The text was updated successfully, but these errors were encountered: