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.

Is there any way to access the stats once the plots are done? Say for example after plotting with lmplot. You end up with all sorts of regressions and fancy stuff happening under the hood. Is it possible to access the parameters of these regressions?

If not I think this would make a very nice addition. I’m plotting a linear model now for example and I would like to access the slope, etc. for manually adding this information onto the graph. Because I don’t know how to access those things (if there’s a way) I’m forced to recalculate everything…

Thanks

Issue Analytics

  • State:closed
  • Created 9 years ago
  • Comments:16 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
dhimmelcommented, Aug 11, 2015

is there a parameter that will display the stats in the plot?

I agree that stats embedded as text are incredibly valuable for visualizations (example). The danger with the current paradigm is that one may accidentally calculate incorrect values when trying to replicate an abstracted analysis. Additionally, much of seaborn’s convenience is lost when an entire modeling process must be explicitly coded.

I think that Hadley’s workflow mentioned by @mwaskom makes sense for exploratory data science. However, for publication stage graphics I believe the opposite is true: visualization should directly represent the models that statistics are reported for.

1reaction
holocronweavercommented, Oct 9, 2014

While it is understandable that the statistics cannot be accessed from the plot-related object, is there a parameter that will display the stats in the plot? In the case of lmplot, I would love to have the R^2 displayed to give a bit more quantitative feel for how good the fit is.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Statistics Calculator
Online statistics calculator to calculate basic statistics including minimum, maximum, sum, count, range, mean, median, mode, standard deviation and ...
Read more >
Statistics Calculator - Calculator.net
This statistics calculator computes a number of common statistical values including standard ... it is calculated as the standard deviation squared, or σ...
Read more >
Statistics Formula | Calculator (Example and Excel Template)
Calculates the mean, median, mode and variance of the above data set. Statistics Formula - 2.1. Solution: Mean is calculated using the formula...
Read more >
Calculate Statistics (Data Management)—ArcGIS Pro
Calculates statistics for a raster dataset or a mosaic dataset. Statistics are required for your raster and mosaic datasets to perform certain tasks,...
Read more >
How To Calculate a Test Statistic (With Types and Examples)
Types of test statistics. The following test statistics are some of the common applications data professionals use when performing statistical analysis: T-value.
Read more >

github_iconTop Related Medium Post

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