Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^2: Proper monetary rounding

by blogical (Pilgrim)
on Mar 08, 2007 at 03:14 UTC ( [id://603754]=note: print w/replies, xml ) Need Help??


in reply to Re: Proper monetary rounding
in thread Proper monetary rounding

Unless it's a lattitudinal trend across a large number of figures being calculated at the same time, all being derived from the same initial figure using the same formula, the sum of which consistantly exceeds the original figure due to a bias in the method of calculation.

The point of the round to even method, if properly implemented, is that it recognizes the situations where error is likely to occur and neutralizes the tendancy to err in either direction.

What you said about avoiding rounding- ie transformation of the source figure- is true. But it isn't necessarily a longitudinal problem.

Replies are listed 'Best First'.
Re^3: Proper monetary rounding
by Moron (Curate) on Mar 08, 2007 at 13:15 UTC
    Bias has a continuous possibly increasing relationship with the input which has definite mean effect and is apt to have a Poisson distribution whereas rounding is discrete (only renders an effect at regular intervals) and does not render a mean overall effect. The probability of it being feasible to control one with the other is therefore zero. A better and tried and tested idea would be either feed back or feed forward a predictive or measured negation of the bias.

    -M

    Free your mind

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://603754]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2024-04-23 18:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found