Issue 72331 - Wrong error indicator placement for standard deviation
Summary: Wrong error indicator placement for standard deviation
Status: CLOSED FIXED
Alias: None
Product: General
Classification: Code
Component: chart (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: kla
QA Contact: issues@graphics
URL:
Keywords: oooqa
Depends on:
Blocks:
 
Reported: 2006-12-06 18:01 UTC by hagar_de_lest
Modified: 2013-02-24 21:21 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Comparison between OOo and Excel chart (14.97 KB, application/vnd.oasis.opendocument.spreadsheet)
2006-12-06 18:02 UTC, hagar_de_lest
no flags Details
Confidence Interval vs Error Bars (42.66 KB, image/jpeg)
2007-04-24 20:42 UTC, discoleo
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description hagar_de_lest 2006-12-06 18:01:45 UTC
When user wants to display the error indicator on a chart (Statistics tab) with
the Standard deviation, the error indicator is centered on each value, it should
be centered on the
mean value only.

See attachment. MS Excel chart is fine, OOo chart is wrong.
Comment 1 hagar_de_lest 2006-12-06 18:02:47 UTC
Created attachment 41173 [details]
Comparison between OOo and Excel chart
Comment 2 kla 2006-12-08 13:36:05 UTC
@IHA: Maybe an RFE? Same in new chart.
Comment 3 Rainer Bielefeld 2007-03-21 16:24:42 UTC
No idea for what the current error bar design could be useful. I believe it
should show whether a "measured value" is within the standard deviation
(referring to the  arithmetic mean) or outside, and that's only possible with
the EXCEL-like design as it is shown in "Standard_Deviation.ods". But I am not
an expert.
Comment 4 discoleo 2007-04-24 14:37:05 UTC
In my opinion, both OOo and Excel perform a poor job here.

Of course, in the given example, Excel is slightly better, BUT I would
personally prefer the following method:
 - IF all the data points of ONLY one group of data are displayed
   (i.e. there is only one mean and one SD)
 - then allow user to select the confidence interval he wants
   e.g. CI95% (+/- 2 SD), (or 68% aka +/- 1 SD)
 - and draw the corresponding horizontal lines

[Confidence intervals could be calculated using more robust methods, like
bootstrapping sometime in the future.]

This would look something like:
http://addictedtor.free.fr/graphiques/RGraphGallery.php?graph=65 (well, NOT
quite; it would look much more simple, with only 2 horizontal lines and a number
of bars).
Comment 5 hagar_de_lest 2007-04-24 14:47:29 UTC
In statistics, there is no use to display only one set of values. The point is
to compare several sets of data to visualize the distribution graphically.
Comment 6 discoleo 2007-04-24 20:41:02 UTC
> In statistics, there is no use to display only one set of values.
> The point is to compare several sets of data to visualize
> the distribution graphically.

Usually, we want to create some confidence interval (CI). The 95% CI is the most
useful one. So creating 2 horizontal lines that delimit the 95% CI is the better
approach.

Of course, we could add a parameter to specify the size of the CI. Selecting 68%
will generate the (-1 SD; +1 SD) interval that is so accustomed in the
literature (the "error bars"), though dedicated statistician rarely use it.

The http://addictedtor.free.fr/graphiques/RGraphGallery.php?graph=65 graphics
display a very complex confidence interval. Of course, in our example, the lines
delimiting the 95% CI would be horizontal (differing from the very complex lines
in the previous graph).

AND, because there are really lines drawn that look like grid lines, you could
more easyly compare the distribution of the individual values. See my attached
graphic. That's how I imagine it.
Comment 7 discoleo 2007-04-24 20:42:09 UTC
Created attachment 44652 [details]
Confidence Interval vs Error Bars
Comment 8 IngridvdM 2007-09-21 13:19:55 UTC
confirmed, changed target
Comment 9 IngridvdM 2008-01-16 13:56:21 UTC
changed target due to limited resources
Comment 10 hagar_de_lest 2008-04-18 14:37:44 UTC
For information, workarounds available here:
http://user.services.openoffice.org/en/forum/viewtopic.php?f=34&t=202&p=22409#p22406
Comment 11 IngridvdM 2008-06-09 14:56:36 UTC
I fixed the placement in CWS chart27. Error indicators for standard deviation
are now located at the mean value position. The different length will be
addressed with issue 66788.
Comment 12 IngridvdM 2008-06-25 12:57:47 UTC
@Thomas, please verify in CWS chart27.
For all old files including the attached one it is necessary to double click the
chart once or update it otherwise (e.g. by pressing F9) to see the corrected
rendering.
Comment 13 kla 2008-06-27 13:43:22 UTC
Seen ok in CWS chart27 -> verified
Comment 14 kla 2008-07-25 14:30:46 UTC
Seen ok in current master -> closed