RFC: Statistics in Subsurface

Dirk Hohndel dirk at hohndel.org
Tue May 12 11:54:40 PDT 2020


It looks like Mail.app on my Mac failed to attach the images. Here they are...



> On May 12, 2020, at 11:49 AM, Dirk Hohndel via subsurface <subsurface at subsurface-divelog.org> wrote:
> 
> Hi Willem,
> 
> Thanks for responding... I wish more people got involved into these conversations. But usually topics like this get two or three of the 300+ people here to respond. And then ten more will complain after we have done the next release and they notice for the first time that we added a feature...
> 
>> On May 12, 2020, at 12:59 AM, Willem Ferguson <willemferguson at zoology.up.ac.za <mailto:willemferguson at zoology.up.ac.za>> wrote:
>> I understand Berthold's request with respect to temporal sequences. When developing such a temporal facility there is an important caveat. Emphatically, such temporal representations do not provide any clear *explanation* of anything: it is just a temporal pattern. For instance a decrease in SAC rate over time does not necessarily imply any improvement in physiological ability but may reflect adoption of new equipment or change in dive sites. Any explanation of a temporal trend is dependent on the understanding of the USER, not on the SOFTWARE. So, when dealing with temporal trends, one needs to consider carefully the intended type of use of it. I think Berthold is more concerned with continuous variables such as temperature, SAC, dive duration, depth, etc which could probably be reasonably easily implemented. To represent categorical variables such as tags, dive mode, people and suit (one could even add dive site) is a totally different issue requiring a totally different type of visual representation.
>> 
> 
> I was in complete agreement until the very last sentence. I don't understand why this 'per se' requires a "totally different type of visual representation".
> Let's say I am charting SAC over my criteria. Let's assume I'm using box and whiskers charts to easily show the quartiles. The values on x-axis have implications for the interpretation, of course, but whether the x-axis is months of the year, the suit worn, the maximum depth of the dive, the tags present on the dive (e.g., teaching dive or non-teaching dive) has absolutely no impact on how this should be visually represented...
> 
>> It would help, in this discussion, if one were to distinguish between the filtering aspect and the statistics display aspect and state that with respect to the argument. In Dirk's artwork above, I am not sure how the constraints will be used. Are we talking of the filtering process or the stats display mechanism? Let's say "Suit" is a constraint and two dates are provided. I am not sure what the expected result of the operation would be. Ahh, the problems of communication.
>> 
> 
> What I was trying to describe was a way to create criteria that can be used for columns in the visualization. You go through this filter process, name the result, and that name becomes one of the available labels over which you can chart the values.
> Again, as I said before, I may simply be over-engineering this.
> 
>> 
>> In general, in my opinion, the existing filter layout is a good starting point (I would add the variables of dive depth and dive duration because they are the two variables that fundamentally define a dive). As a filtering mechanism the current implementation is ultra-flexible.
>> 
> 
> While I respect your opinion, let me politely state that personally I believe that the current filter widget is a disaster and extremely unintuitive to use. That's not a criticism of the original author, nor of the people who have added to it - but yeah, that thing is a mess.
> 
>> As far as UI for filter sets are concerned the minimum component count would include: Combobox of existing named filters within the set. Button: add current filter to filter set. These could potentially reside at the top right of the current filter panel. But there might be a need to give filter set a name as well. That would need a text box.
>> 
> 
> Making the current widget more convoluted and more confusing was not a direction that I was envisioning us to go.
> 
> 
> Maybe we need to rain in the crazy German and go back to something much more basic. Something like ten predefined sets of criteria. And only apply them to the filtered dive list.
> 
> So.
> (1) per month
> (2) per year
> (3) per trip
> (4) by max depth in 10m increments
> (5) by duration in 10min increments
> (6) by min temperature in 10F / 5C increments
> (7) by type (for people who track more than SCUBA)
> (8) by suit (that's likely a fairly small set for most people)
> (9) by tags (that one I'm unclear about - would likely need some more ability to influence how this is drawn - but straight forward would be to draw them in pairs of two, left one represents with the tag, right one without the tag)
> (10) by people? (no idea how / why)
> (11) by full text? (no idea how / why)
> 
> If we drop the last three this seems fairly obvious how to do.
> 
> Next comes the question of visualization. That might depend on the data (so the columns of the yearly statistics). At first glance I thought that box and whiskers charts might be useful, or more simplified min / avg / max charts (so floating bar with a circle for the average)
> 
> 
> 
> 
> Are there any columns that couldn't be visualized with that?
> 
> /D
> 
> 
> _______________________________________________
> subsurface mailing list
> subsurface at subsurface-divelog.org
> http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20200512/8a73665a/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: unnamed.png
Type: image/png
Size: 9963 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20200512/8a73665a/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: oVDLR.png
Type: image/png
Size: 6032 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20200512/8a73665a/attachment-0003.png>


More information about the subsurface mailing list