Rounding [Software]

posted by yjlee168 Homepage – Kaohsiung, Taiwan, 2013-01-07 00:38 (4555 d 16:42 ago) – Posting: # 9794
Views: 13,002

Dear Helmut,
  1. Firstly, I like to thank you for giving me the chance to look at rounding issue, although I don't think that I am a mathematician to deal with such a tough question. For me, rounding rule is just like a guideline to follow with. I will not take it as scientific issue, but just a rule or a standard. Otherwise, why do people make such a standard (IEC 60559)? Just like BE criteria is set as 90%CI of 80.00% ~ 120.00%. Fortunately, after discussion I find that the rounding rule I use is the same as IEC 60559 standard. So I will put IEC 60559 standard into my SOP of data analysis later.
  2. So far, I don't think that R completely complies IEC 60559 standard in its rounding function (as your demonstration) under Windows (my computer OS). In R online help, it says that the rounding function may vary with different computer OS. Fortunately, in your case (round(125.005, digits=2), it complies.
  3. I agree with that rounding will loose information. But sometimes it may also introduce bias too. Arbitrarily, we call it 'rounding error.' Because it can be difficult to estimate the rounding error, so we live with it. It will not introduce bias only when we take the final number to round off and present it. If this is the case, we don't have to worry about the bias.
  4. Finally, I absolutely agree with you that sometimes R drives me nuts too.

All the best,
-- Yung-jin Lee
bear v2.9.2:- created by Hsin-ya Lee & Yung-jin Lee
Kaohsiung, Taiwan https://www.pkpd168.com/bear
Download link (updated) -> here

Complete thread:

UA Flag
Activity
 Admin contact
23,424 posts in 4,927 threads, 1,687 registered users;
38 visitors (0 registered, 38 guests [including 10 identified bots]).
Forum time: 18:21 CEST (Europe/Vienna)

Complex, statistically improbable things are by their nature
more difficult to explain than
simple, statistically probable things.    Richard Dawkins

The Bioequivalence and Bioavailability Forum is hosted by
BEBAC Ing. Helmut Schütz
HTML5