• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

Benford's law

Collapse
X
  •  
  • Filter
  • Time
  • Show
Clear All
new posts

    Benford's law

    It's smeging disturbing.

    I've tried testing some random data sets from bank statements to historical values, nearly every time the leading digit '1' comes up 30% of the time.

    What's going on?
    "Never argue with stupid people, they will drag you down to their level and beat you with experience". Mark Twain

    #2
    It works after the decimal point as well. Many years ago an American programmer made a lot of money by realising the actual mid-point for rounding was not 50 cents but roughly 33 cents. He wrote a programme that reported the rounding based on 0,5 but calculated it at 0.3 and put the balance in his own account.
    Blog? What blog...?

    Comment


      #3
      Originally posted by malvolio View Post
      It works after the decimal point as well. Many years ago an American programmer made a lot of money by realising the actual mid-point for rounding was not 50 cents but roughly 33 cents. He wrote a programme that reported the rounding based on 0,5 but calculated it at 0.3 and put the balance in his own account.
      That was Superman 3 you're thinking of.

      Comment


        #4
        Originally posted by barrydidit View Post
        That was Superman 3 you're thinking of.
        In 1968...? Don't think so.
        Blog? What blog...?

        Comment


          #5
          Originally posted by scooterscot View Post
          It's smeging disturbing.

          I've tried testing some random data sets from bank statements to historical values, nearly every time the leading digit '1' comes up 30% of the time.

          What's going on?
          For business/personal current account transactions it's nearer 40% here!

          Code:
          Digit		Business	Personal	Predicted
          1		38.7%		42.9%		30.1%
          2		16.7%		20.0%		17.6%
          3		8.9%		10.9%		12.5%
          4		8.9%		7.0%		9.7%
          5		9.5%		6.6%		7.9%
          6		4.2%		2.1%		6.7%
          7		5.4%		2.9%		5.8%
          8		2.4%		3.8%		5.1%
          9		5.4%		3.8%		4.6%
          
          Sample size	336		1535

          Comment


            #6
            Originally posted by Contreras View Post
            For business/personal current account transactions it's nearer 40% here!

            Code:
            Digit		Business	Personal	Predicted
            1		38.7%		42.9%		30.1%
            2		16.7%		20.0%		17.6%
            3		8.9%		10.9%		12.5%
            4		8.9%		7.0%		9.7%
            5		9.5%		6.6%		7.9%
            6		4.2%		2.1%		6.7%
            7		5.4%		2.9%		5.8%
            8		2.4%		3.8%		5.1%
            9		5.4%		3.8%		4.6%
            
            Sample size	336		1535

            Perhaps there's a fraud in progress.
            "Never argue with stupid people, they will drag you down to their level and beat you with experience". Mark Twain

            Comment


              #7
              Originally posted by scooterscot View Post
              It's smeging disturbing.

              I've tried testing some random data sets from bank statements to historical values, nearly every time the leading digit '1' comes up 30% of the time.

              What's going on?
              Could it be that your annual salary is £15000, and your monthly pay packet is £1005 ?
              Work in the public sector? Read the IR35 FAQ here

              Comment


                #8
                Originally posted by scooterscot View Post
                Perhaps there's a fraud in progress.
                I was just thinking that too.

                Comment


                  #9
                  Originally posted by malvolio View Post
                  It works after the decimal point as well. Many years ago an American programmer made a lot of money by realising the actual mid-point for rounding was not 50 cents but roughly 33 cents. He wrote a programme that reported the rounding based on 0,5 but calculated it at 0.3 and put the balance in his own account.
                  Was that before or after Office Space ?
                  Socialism is inseparably interwoven with totalitarianism and the abject worship of the state.

                  No Socialist Government conducting the entire life and industry of the country could afford to allow free, sharp, or violently-worded expressions of public discontent.

                  Comment


                    #10
                    And for all the other thick bastards like me that don't have a clue what's happening here...

                    Benford's law - Wikipedia, the free encyclopedia

                    Interesting comment in there to help fend off HMRC for the less scrupulous of you though..

                    Accounting fraud detection[edit]

                    In 1972, Hal Varian suggested that the law could be used to detect possible fraud in lists of socio-economic data submitted in support of public planning decisions. Based on the plausible assumption that people who make up figures tend to distribute their digits fairly uniformly, a simple comparison of first-digit frequency distribution from the data with the expected distribution according to Benford's Law ought to show up any anomalous results.[14] Following this idea, Mark Nigrini showed that Benford's Law could be used in forensic accounting and auditing as an indicator of accounting and expenses fraud.[15] In practice, applications of Benford's Law for fraud detection routinely use more than the first digit.[15]
                    Last edited by northernladuk; 12 August 2014, 11:41.
                    'CUK forum personality of 2011 - Winner - Yes really!!!!

                    Comment

                    Working...
                    X