regplot: support confidence intervals with lowess model
See original GitHub issueCurrent regplot
behavior when lowess=True
is to ignore the confidence interval (ci
) and bootstrap (n_boot
) keyword arguments (example below):
sns.regplot('obs', 'mod', data=data, lowess=True, ci=95, n_boot=1000)
Any thoughts on making it possible to bootstrap the lowess model?
Issue Analytics
- State:
- Created 8 years ago
- Reactions:2
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Confidence interval for LOWESS in Python - Stack Overflow
For a project of mine, I need to create intervals for time-series modeling, and to make the procedure more efficient I created tsmoothie:...
Read more >seaborn.regplot — seaborn 0.12.1 documentation - PyData |
If True , use statsmodels to estimate a nonparametric lowess model (locally weighted linear regression). Note that confidence intervals cannot currently be ...
Read more >Confidence intervals for LOWESS models in python
Ideally, we'd have a LOWESS method which provides us a confidence interval on the fit of the model so we can see which...
Read more >How to Plot a Confidence Interval in Python? - GeeksforGeeks
The seaborn.regplot() helps to plot data and a linear regression model fit. This function also allows plotting the confidence interval.
Read more >Data Visualization with Python and Seaborn — Part 4: LM Plot ...
One is known as 'LM Plot' and the other one is 'Reg Plot'. ... resulting regression line and a 95% confidence interval for...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hello: First of all I would like to congratulate the authors on a wonderful library. May I ask, what your plans regarding this question is? I am using the most uptodate seaborn version through conda. Thanks again for a beautiful tool, Markus
Is there interest in adding the confidence intervals to the lowess fits? I find them informative when looking at data. In the past, I have used the skmisc.loess library to achieve this, but it would be nice to incorporate it into seaborn. After digging around in the issues, it seems like this hasn’t been incorporated because of slow performance in boot strapping in statsmodels.