Rounding [Software]

posted by yjlee168 Homepage – Kaohsiung, Taiwan, 2013-01-07 00:38 (4911 d 16:21 ago) – Posting: # 9794
Views: 15,144

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.6:- 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,654 posts in 4,992 threads, 1,570 registered users;
166 visitors (0 registered, 166 guests [including 18 identified bots]).
Forum time: 17:59 CEST (Europe/Vienna)

Actually, science starts to become interesting
only where it ends.    Justus von Liebig

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