calculated stats
See original GitHub issueIs 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:
- Created 9 years ago
- Comments:16 (8 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
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
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.
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.