What is visual basic rounding?

Mathematically, why does rounding 5 up bias data (as opposed to rounding to nearest even)?

  • If you do out the number line, rounding to the nearest even gives this result: [-- 0 --]0.5(-- 1 --)1.5[-- 2 --]2.5(-- 3 --) And rounding up gives you this shape: [-- 0 --)0.5[-- 1 --)1.5[-- 2 --)2.5[-- 3 --) In this case I mean ")0.5[" to mean 0.5 is rounded up and "]0.5(" to be 0.5 is rounded down.

  • Answer:

    What's 2.5 + 3.5?  If you round up, you estimate it as 3 + 4, but if you round towards evens you get 2 + 4.

Justin Rising at Quora Visit the source

Was this solution helpful to you?

Other answers

Randomness reduces bias. When x is rounded up, you'll always get a number that's at least as large as x. Whenever x is rounded to the nearest even, it could be rounded up or down. Consider the simplest of statistics in the simplest scenario: the mean and sum, where the data is positive numbers. Scenario 1: Every time you round up, the mean and sum will systematically increase. Scenario 2: Every time you round to the nearest even, the mean and sum could increase, decrease, or stay the same. in Scenario 1, the outcomes are always biased upwards. In scenario 2, the bias is more "random". Of course, there are statistics like estimators for non-linear regressions and other wonky things I can't imagine which defy my simple example. But in general, if there is going to be some error introduced into the data that you don't know about (and therefore can't fix), it's better if the outcome of interest isn't systematically affected. (However, if you know about the error, then it's better to have it be systematic so you can systematically correct it!)

Larry Wei

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.