Plotting Pandas OLS linear regression results

南楼画角 提交于 2019-12-04 08:48:27
dartdog

You may find this question of mine helpful Getting the regression line to plot from a Pandas regression

I tried to find some of my code doing a ols plot with Pandas,, but could not lay my hand on it, In general you would probably be better off using Statsmodels for this, it knows about Pandas datastructures.. so the transition is not too hard. Then my answer and the referenced examples will make more sense..

See also: http://nbviewer.ipython.org/gist/dartdog/9008026

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!