question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

regplot: support confidence intervals with lowess model

See original GitHub issue

Current 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:open
  • Created 8 years ago
  • Reactions:2
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
metma99commented, Dec 28, 2017

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

1reaction
arkottkecommented, Mar 24, 2021

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found