-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Decimal point in uncertainty in "parenthesis" format #47
Comments
The default behaviour is recommended by GUM; it's very compact and well-known. |
Thanks for the quick reply. I think that the default behaviour is acceptable, but I am not sure it is actually recommended by GUM. As far as I can read in their document, when they report uncertainty digits that correspond to value digits before the decimal point (comma in their notation) they do include the decimal point in the proper position, as in bullet 3. below. Quoting from GUM 2008:
|
Methods 2 and 4 (plus-minus notation) are the ones implemented in this package, as reported in the paper/vignette. You are proposing method 3, which is a mix of 2 and 4. It could be implemented as an opt-in notation, but I definitely want to preserve the current default, which is more compact and elegant (and is used by NIST, IUPAC...). |
I interpret the method I propose as the natural extension of method 2 in the case when the uncertainty is large enough to affect digits on the left of the decimal point. Method 3 is not what I propose, because in the mentioned case the uncertainty is not large enough to affect digits on the left of the decimal point, and with my modification no decimal point would appear with those value and uncertainty. As you can see in this answer I report in the following, to a question on stackexhange, the author of the reply agrees with my interpretation of section 7.2.2 point 3 as recommending the use of the decimal point for the uncertainty in parenthesis. I quote the reply:
I don't think that there is a single example in NIST and IUPAC where the uncertainty is reported in parenthesis without any decimal point in the case when the uncertainty affects at least one digit at the left of the decimal point, as in the ambiguous expression above. In case I will submit a PR, at any rate, given your opinion on the matter, I will make my preferred behaviour as optional on request. |
I don't think so. The author of that response acknowledges that form 1 is method 2 and form 2 is method 3 of the GUM, just as I was saying.
The expression is not ambiguous. To me, the GUM is pretty clear: uncertainty in method 2 is "referred to the corresponding last digits". It's a simple rule. If you write
I'm open to implement method 3 as... |
Just for documentation, I found that one of the most important precision measurement of elementary particle Physics, the final report of BNL E821 on the muon anomalous magnetic moment, reports the main results using uncertainties with the decimal point in parenthesis, like I proposed above. From Phys. Rev. D 73, 072003, 2006, the result is reported as:
|
When using parenthesis format, a value like 12.34 +- 5.67 is formatted as "12.34(567)". That is slightly misleading for the average reader, in my opinion. Would it be possible to change the behaviour and to keep the decimal point in the proper position for the uncertainty? That would mean formatting "12.34(5.67)". I did achieve that with the following modifications:
and later on
The text was updated successfully, but these errors were encountered: